Skip to content

Schedule initialization error in HighTempRadiantSystem #11050

@jmarrec

Description

@jmarrec

Issue overview

This is a regression, that test used to run fine.

Performing Zone Sizing Simulation
...for Sizing Period: #2 CHICAGO OHARE INTL AP ANN HTG 99.6% CONDNS DB
Process 2955838 stopped
* thread #1, name = 'energyplus', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x4c)
    frame #0: 0x00007ffff26b9656 libenergyplusapi.so.25.1.0`EnergyPlus::Sched::Schedule::getCurrentVal(this=0x0000000000000000) const at ScheduleManager.hh:275:20
   272 	
   273 	        Real64 getCurrentVal() const
   274 	        {
-> 275 	            return EMSActuatedOn ? EMSVal : currentVal;
   276 	        }
   277 	
   278 	        // Looks up a given Schedule value for an hour & timestep, minding whether DST is enabled or not
(lldb) bt
error: libenergyplusapi.so.25.1.0 0x0041d21a: DW_TAG_member '_M_local_buf' refers to type 0x000000000047d90b which extends beyond the bounds of 0x0041d210
* thread #1, name = 'energyplus', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x4c)
  * frame #0: 0x00007ffff26b9656 libenergyplusapi.so.25.1.0`EnergyPlus::Sched::Schedule::getCurrentVal(this=0x0000000000000000) const at ScheduleManager.hh:275:20
    frame #1: 0x00007ffff3c81a2d libenergyplusapi.so.25.1.0`EnergyPlus::HighTempRadiantSystem::CalcHighTempRadiantSystem(state=0x00007fffffffa8c0, RadSysNum=1) at HighTempRadiantSystem.cc:803:65
    frame #2: 0x00007ffff3c7ad59 libenergyplusapi.so.25.1.0`EnergyPlus::HighTempRadiantSystem::SimHighTempRadiantSystem(state=0x00007fffffffa8c0, CompName=(_M_len = 36, _M_str = "ZONE HVAC HIGH TEMPERATURE RADIANT 1"), FirstHVACIteration=true, LoadMet=0x00007fffffffa010, CompIndex=0x00005555568657c0) at HighTempRadiantSystem.cc:178:38
    frame #3: 0x00007ffff3132777 libenergyplusapi.so.25.1.0`EnergyPlus::ZoneEquipmentManager::SimZoneEquipment(state=0x00007fffffffa8c0, FirstHVACIteration=true, SimAir=0x00007fffffffa33b) at ZoneEquipmentManager.cc:3830:64
    frame #4: 0x00007ffff3110d6f libenergyplusapi.so.25.1.0`EnergyPlus::ZoneEquipmentManager::ManageZoneEquipment(state=0x00007fffffffa8c0, FirstHVACIteration=true, SimZone=0x00007fffffffa33c, SimAir=0x00007fffffffa33b) at ZoneEquipmentManager.cc:159:25
    frame #5: 0x00007ffff2d8155b libenergyplusapi.so.25.1.0`EnergyPlus::SizingManager::ManageSizing(state=0x00007fffffffa8c0) at SizingManager.cc:438:28
    frame #6: 0x00007ffff2d49cad libenergyplusapi.so.25.1.0`EnergyPlus::SimulationManager::ManageSimulation(state=0x00007fffffffa8c0) at SimulationManager.cc:233:36
    frame #7: 0x00007ffff2441b54 libenergyplusapi.so.25.1.0`RunEnergyPlus(state=0x00007fffffffa8c0, filepath="") at EnergyPlusPgm.cc:421:56
    frame #8: 0x00007ffff2440b7a libenergyplusapi.so.25.1.0`EnergyPlusPgm(args=size=1, filepath="") at EnergyPlusPgm.cc:242:25
    frame #9: 0x0000555555580bf6 energyplus`main(argc=1, argv=0x00007fffffffbfe8) at main.cc:60:25
    frame #10: 0x00007ffff102a1ca libc.so.6`__libc_start_call_main(main=(energyplus`main at main.cc:54:1), argc=1, argv=0x00007fffffffbfe8) at libc_start_call_main.h:58:16
    frame #11: 0x00007ffff102a28b libc.so.6`__libc_start_main_impl(main=(energyplus`main at main.cc:54:1), argc=1, argv=0x00007fffffffbfe8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffbfd8) at libc-start.c:360:3
    frame #12: 0x0000555555580a45 energyplus`_start + 37

Operating System (Multiple choices)

Any

Operating System Version

N/A

Version of EnergyPlus

25.1.0, develop

Unmethours link or helpdesk ticket number

N/A

Defect file

autosize_hvac.rb.idf.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    DefectIncludes code to repair a defect in EnergyPlus

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions