-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unit test floating point exceptions so we can enable Floating point exceptions by default in Debug mode (GCC/Clang) #10648
Labels
Defect
Includes code to repair a defect in EnergyPlus
Developer Issue
Related to cmake, packaging, installers, or developer tooling (CI, etc)
MediumComplexityApproved
Used for subcontractor defect complexity requests
Comments
jmarrec
added
Defect
Includes code to repair a defect in EnergyPlus
Developer Issue
Related to cmake, packaging, installers, or developer tooling (CI, etc)
labels
Aug 8, 2024
Closed
3 tasks
EnergyPlusFixture.DXCoils_Test2[ RUN ] EnergyPlusFixture.DXCoils_Test2
Process 1051709 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: invalid floating point operation
frame #0: 0x000055555e447f8b energyplus_tests`EnergyPlus::HeatingCapacitySizer::size(this=0x00007fffffffb410, state=0x000055556e2946d0, _originalValue=-99999, errorsFound=0x00007fffffff9699) at HeatingCapacitySizing.cc:399:42
396 HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT]));
397 }
398
-> 399 DXFlowPerCapMinRatio = (DesVolFlow / HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT]) /
^
400 this->autoSizedValue; // set DX Coil Capacity Increase Ratio from Too Low Flow/Capacity Ratio
401 this->autoSizedValue = DesVolFlow / HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT];
402
Process 1051709 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: invalid floating point operation
* frame #0: 0x000055555e447f8b energyplus_tests`EnergyPlus::HeatingCapacitySizer::size(this=0x00007fffffffb410, state=0x000055556e2946d0, _originalValue=-99999, errorsFound=0x00007fffffff9699) at HeatingCapacitySizing.cc:399:42
frame #1: 0x000055555e898136 energyplus_tests`EnergyPlus::DXCoils::SizeDXCoil(state=0x000055556e2946d0, DXCoilNum=2) at DXCoils.cc:7624:73
frame #2: 0x000055555b6b7745 energyplus_tests`EnergyPlus::EnergyPlusFixture_DXCoils_Test2_Test::TestBody(this=0x000055556e293fe0) at DXCoils.unit.cc:383:15
frame #3: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e293fe0, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #4: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e293fe0) at gtest.cc:2682:50
frame #5: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e17c810) at gtest.cc:2861:14
frame #6: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #7: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #8: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #9: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #10: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #11: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc118) at main.cc:71:25
frame #12: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc118, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc108) at libc-start.c:308:16
frame #13: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.MultiSpeedDXCoolingCoilOutputTest[ RUN ] EnergyPlusFixture.MultiSpeedDXCoolingCoilOutputTest
Process 1051752 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
frame #0: 0x000055555e8dd24f energyplus_tests`EnergyPlus::DXCoils::CalcTotCapSHR(state=0x000055556e294840, InletDryBulb=30, InletHumRat=0.0074999999999999997, InletEnthalpy=49320.513749999998, InletWetBulb=17.628175857112453, AirMassFlowRatio=1, AirMassFlow=0.59999999999999998, TotCapNom=10710, CBF=1, CCapFTemp=1, CCapFFlow=2, TotCap=0x00007fffffffa820, SHR=0x00007fffffffa828, CondInletTemp=30, Pressure=101325, TotCapModFac=0x000055556f9ecd80) at DXCoils.cc:12469:39
12466
12467 // Calculate apparatus dew point conditions using TotCap and CBF
12468 hDelta = TotCapCalc / AirMassFlow;
-> 12469 hADP = InletEnthalpy - hDelta / (1.0 - CBF);
^
12470 tADP = PsyTsatFnHPb(state, hADP, Pressure);
12471 wADP = PsyWFnTdbH(state, tADP, hADP);
12472 hTinwADP = PsyHFnTdbW(InletDryBulb, wADP);
Process 1051752 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
* frame #0: 0x000055555e8dd24f energyplus_tests`EnergyPlus::DXCoils::CalcTotCapSHR(state=0x000055556e294840, InletDryBulb=30, InletHumRat=0.0074999999999999997, InletEnthalpy=49320.513749999998, InletWetBulb=17.628175857112453, AirMassFlowRatio=1, AirMassFlow=0.59999999999999998, TotCapNom=10710, CBF=1, CCapFTemp=1, CCapFFlow=2, TotCap=0x00007fffffffa820, SHR=0x00007fffffffa828, CondInletTemp=30, Pressure=101325, TotCapModFac=0x000055556f9ecd80) at DXCoils.cc:12469:39
frame #1: 0x000055555e8e0fda energyplus_tests`EnergyPlus::DXCoils::CalcMultiSpeedDXCoilCooling(state=0x000055556e294840, DXCoilNum=1, SpeedRatio=0, CycRatio=1, SpeedNum=2, fanOp=Cycling, compressorOp=On, SingleMode=0) at DXCoils.cc:12814:26
frame #2: 0x000055555b74aa9a energyplus_tests`EnergyPlus::EnergyPlusFixture_MultiSpeedDXCoolingCoilOutputTest_Test::TestBody(this=0x000055556e293f60) at DXCoils.unit.cc:5357:32
frame #3: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e293f60, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #4: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e293f60) at gtest.cc:2682:50
frame #5: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e17fa10) at gtest.cc:2861:14
frame #6: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #7: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #8: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #9: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #10: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #11: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc108) at main.cc:71:25
frame #12: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc108, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0f8) at libc-start.c:308:16
frame #13: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.SingleSpeedDXCoolingCoilOutputTest[ RUN ] EnergyPlusFixture.SingleSpeedDXCoolingCoilOutputTest
Process 1051824 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
frame #0: 0x000055555e8b7db9 energyplus_tests`EnergyPlus::DXCoils::CalcDoe2DXCoil(state=0x000055556e294840, DXCoilNum=1, compressorOp=On, FirstHVACIteration=true, PartLoadRatio=1, fanOp=Continuous, PerfMode=ObjexxFCL::Optional_int_const @ 0x00007fffffffbb70, OnOffAirFlowRatio=Optional<double const> @ 0x00007fffffffbb80, CoolingHeatingPLR=Optional<double const> @ 0x00007fffffffbb90) at DXCoils.cc:9610:50
9607 } else {
9608 // Calculate apparatus dew point conditions using TotCap and CBF
9609 hDelta = TotCap / AirMassFlow;
-> 9610 hADP = InletAirEnthalpy - hDelta / (1.0 - CBF);
^
9611 tADP = PsyTsatFnHPb(state, hADP, OutdoorPressure, calcDoe2DXCoil);
9612 // Eventually inlet air conditions will be used in DX Coil, these lines are commented out and marked with this comment line
9613 // tADP = PsyTsatFnHPb(hADP,InletAirPressure)
Process 1051824 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
* frame #0: 0x000055555e8b7db9 energyplus_tests`EnergyPlus::DXCoils::CalcDoe2DXCoil(state=0x000055556e294840, DXCoilNum=1, compressorOp=On, FirstHVACIteration=true, PartLoadRatio=1, fanOp=Continuous, PerfMode=ObjexxFCL::Optional_int_const @ 0x00007fffffffbb70, OnOffAirFlowRatio=Optional<double const> @ 0x00007fffffffbb80, CoolingHeatingPLR=Optional<double const> @ 0x00007fffffffbb90) at DXCoils.cc:9610:50
frame #1: 0x000055555b746593 energyplus_tests`EnergyPlus::EnergyPlusFixture_SingleSpeedDXCoolingCoilOutputTest_Test::TestBody(this=0x000055556e293f60) at DXCoils.unit.cc:5171:19
frame #2: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e293f60, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #3: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e293f60) at gtest.cc:2682:50
frame #4: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e17f7e0) at gtest.cc:2861:14
frame #5: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #6: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #7: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #8: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #9: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #10: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc108) at main.cc:71:25
frame #11: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc108, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0f8) at libc-start.c:308:16
frame #12: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.SolarShadingTest_PolygonClippingDirect[ RUN ] EnergyPlusFixture.SolarShadingTest_PolygonClippingDirect
Process 1051908 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: invalid floating point operation
frame #0: 0x0000555560689d47 energyplus_tests`EnergyPlus::SolarShading::CLIPLINE(x1=0x00007fffffff7e98, x2=0x00007fffffff7ea8, y1=0x00007fffffff7ea0, y2=0x00007fffffff7eb0, maxX=800000, minX=200000, maxY=250000, minY=50000, visible=0x00007fffffff7e47, rev=0x00007fffffff7e48) at SolarShading.cc:3996:35
3993 if (x2 <= maxX && y2 >= minY) return;
3994 } else if (c2 == 4) {
3995 x2 = maxX;
-> 3996 y2 = minY + e / dx;
^
3997 return;
3998 }
3999 if (needX) {
Process 1051908 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: invalid floating point operation
* frame #0: 0x0000555560689d47 energyplus_tests`EnergyPlus::SolarShading::CLIPLINE(x1=0x00007fffffff7e98, x2=0x00007fffffff7ea8, y1=0x00007fffffff7ea0, y2=0x00007fffffff7eb0, maxX=800000, minX=200000, maxY=250000, minY=50000, visible=0x00007fffffff7e47, rev=0x00007fffffff7e48) at SolarShading.cc:3996:35
frame #1: 0x000055556068a656 energyplus_tests`EnergyPlus::SolarShading::CLIPRECT(state=0x000055556e294810, NS2=3, NV1=4, NV3=0x00007fffffff8854) at SolarShading.cc:4067:17
frame #2: 0x000055556068d285 energyplus_tests`EnergyPlus::SolarShading::CLIPPOLY(state=0x000055556e294810, NS1=2, NS2=3, NV1=4, NV2=4, NV3=0x00007fffffff8854) at SolarShading.cc:4337:21
frame #3: 0x00005555606912f7 energyplus_tests`EnergyPlus::SolarShading::DeterminePolygonOverlap(state=0x000055556e294810, NS1=2, NS2=3, NS3=4) at SolarShading.cc:4762:17
frame #4: 0x000055556068f6af energyplus_tests`EnergyPlus::SolarShading::MULTOL(state=0x000055556e294810, NNN=3, LOC0=1, NRFIGS=1) at SolarShading.cc:4533:32
frame #5: 0x00005555606d1e4b energyplus_tests`EnergyPlus::SolarShading::SHDSBS(state=0x000055556e294810, iHour=24, CurSurf=5, NBKS=0, NSBS=1, HTS=5, TS=0) at SolarShading.cc:9413:31
frame #6: 0x00005555606a0858 energyplus_tests`EnergyPlus::SolarShading::SHADOW(state=0x000055556e294810, iHour=24, TS=0) at SolarShading.cc:5791:19
frame #7: 0x00005555606ded38 energyplus_tests`EnergyPlus::SolarShading::SkyDifSolarShading(state=0x000055556e294810) at SolarShading.cc:10619:19
frame #8: 0x000055555d56ce5e energyplus_tests`EnergyPlusFixture_SolarShadingTest_PolygonClippingDirect_Test::TestBody(this=0x000055556e294050) at SolarShading.unit.cc:1880:37
frame #9: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e294050, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #10: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e294050) at gtest.cc:2682:50
frame #11: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e234880) at gtest.cc:2861:14
frame #12: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #13: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #14: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #15: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #16: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #17: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc108) at main.cc:71:25
frame #18: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc108, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0f8) at libc-start.c:308:16
frame #19: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.TestMultiSpeedCoilsAutoSizingOutput[ RUN ] EnergyPlusFixture.TestMultiSpeedCoilsAutoSizingOutput
Process 1052060 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
frame #0: 0x000055555e447f8b energyplus_tests`EnergyPlus::HeatingCapacitySizer::size(this=0x00007fffffff86f0, state=0x000055556e294840, _originalValue=-99999, errorsFound=0x00007fffffff6979) at HeatingCapacitySizing.cc:399:42
396 HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT]));
397 }
398
-> 399 DXFlowPerCapMinRatio = (DesVolFlow / HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT]) /
^
400 this->autoSizedValue; // set DX Coil Capacity Increase Ratio from Too Low Flow/Capacity Ratio
401 this->autoSizedValue = DesVolFlow / HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT];
402
Process 1052060 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
* frame #0: 0x000055555e447f8b energyplus_tests`EnergyPlus::HeatingCapacitySizer::size(this=0x00007fffffff86f0, state=0x000055556e294840, _originalValue=-99999, errorsFound=0x00007fffffff6979) at HeatingCapacitySizing.cc:399:42
frame #1: 0x000055555e898136 energyplus_tests`EnergyPlus::DXCoils::SizeDXCoil(state=0x000055556e294840, DXCoilNum=2) at DXCoils.cc:7624:73
frame #2: 0x000055555b733fa0 energyplus_tests`EnergyPlus::EnergyPlusFixture_TestMultiSpeedCoilsAutoSizingOutput_Test::TestBody(this=0x000055556e293f60) at DXCoils.unit.cc:4664:15
frame #3: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e293f60, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #4: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e293f60) at gtest.cc:2682:50
frame #5: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e17ef10) at gtest.cc:2861:14
frame #6: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #7: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #8: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #9: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #10: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #11: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc108) at main.cc:71:25
frame #12: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc108, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0f8) at libc-start.c:308:16
frame #13: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.TestReadingCoilCoolingHeatingDX[ RUN ] EnergyPlusFixture.TestReadingCoilCoolingHeatingDX
Process 1052166 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
frame #0: 0x0000555560c3d416 energyplus_tests`EnergyPlus::VariableSpeedCoils::CalcVarSpeedCoilCooling(state=0x000055556e294820, DXCoilNum=1, fanOp=Continuous, SensDemand=100, LatentDemand=100, compressorOp=On, PartLoadRatio=0, OnOffAirFlowRatio=0.5, SpeedRatio=0, SpeedNum=1) at VariableSpeedCoils.cc:6073:34
6070 }
6071
6072 if ((SpeedNum == 1) || (SpeedNum > MaxSpeed) || (SpeedRatio == 1.0)) {
-> 6073 AirMassFlowRatio =
^
6074 state.dataVariableSpeedCoils->LoadSideMassFlowRate / state.dataVariableSpeedCoils->VarSpeedCoil(DXCoilNum).DesignAirMassFlowRate;
6075
6076 if (state.dataVariableSpeedCoils->VarSpeedCoil(DXCoilNum).VSCoilType == HVAC::Coil_CoolingAirToAirVariableSpeed) {
Process 1052166 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
* frame #0: 0x0000555560c3d416 energyplus_tests`EnergyPlus::VariableSpeedCoils::CalcVarSpeedCoilCooling(state=0x000055556e294820, DXCoilNum=1, fanOp=Continuous, SensDemand=100, LatentDemand=100, compressorOp=On, PartLoadRatio=0, OnOffAirFlowRatio=0.5, SpeedRatio=0, SpeedNum=1) at VariableSpeedCoils.cc:6073:34
frame #1: 0x000055555b6dacb9 energyplus_tests`EnergyPlus::EnergyPlusFixture_TestReadingCoilCoolingHeatingDX_Test::TestBody(this=0x000055556e293f50) at DXCoils.unit.cc:2031:48
frame #2: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e293f50, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #3: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e293f50) at gtest.cc:2682:50
frame #4: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e17d2a0) at gtest.cc:2861:14
frame #5: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #6: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #7: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #8: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #9: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #10: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc108) at main.cc:71:25
frame #11: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc108, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0f8) at libc-start.c:308:16
frame #12: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.TwoSpeedDXCoilStandardRatingsTest[ RUN ] EnergyPlusFixture.TwoSpeedDXCoilStandardRatingsTest
Process 1052213 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
frame #0: 0x000055555e8dd24f energyplus_tests`EnergyPlus::DXCoils::CalcTotCapSHR(state=0x000055556e294840, InletDryBulb=26.699999999999999, InletHumRat=0.011112859304158127, InletEnthalpy=55173.39761789373, InletWetBulb=19.413927296919592, AirMassFlowRatio=1, AirMassFlow=1, TotCapNom=17580, CBF=1, CCapFTemp=1, CCapFFlow=5, TotCap=0x00007fffffff9ec0, SHR=0x00007fffffff9ec8, CondInletTemp=35, Pressure=101325, TotCapModFac=0x000055556e9b8040) at DXCoils.cc:12469:39
12466
12467 // Calculate apparatus dew point conditions using TotCap and CBF
12468 hDelta = TotCapCalc / AirMassFlow;
-> 12469 hADP = InletEnthalpy - hDelta / (1.0 - CBF);
^
12470 tADP = PsyTsatFnHPb(state, hADP, Pressure);
12471 wADP = PsyWFnTdbH(state, tADP, hADP);
12472 hTinwADP = PsyHFnTdbW(InletDryBulb, wADP);
Process 1052213 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
* frame #0: 0x000055555e8dd24f energyplus_tests`EnergyPlus::DXCoils::CalcTotCapSHR(state=0x000055556e294840, InletDryBulb=26.699999999999999, InletHumRat=0.011112859304158127, InletEnthalpy=55173.39761789373, InletWetBulb=19.413927296919592, AirMassFlowRatio=1, AirMassFlow=1, TotCapNom=17580, CBF=1, CCapFTemp=1, CCapFFlow=5, TotCap=0x00007fffffff9ec0, SHR=0x00007fffffff9ec8, CondInletTemp=35, Pressure=101325, TotCapModFac=0x000055556e9b8040) at DXCoils.cc:12469:39
frame #1: 0x000055555e8d3140 energyplus_tests`EnergyPlus::DXCoils::CalcMultiSpeedDXCoil(state=0x000055556e294840, DXCoilNum=1, SpeedRatio=1, CycRatio=1, ForceOn=ObjexxFCL::Optional_bool_const @ 0x00007fffffffafe0) at DXCoils.cc:11451:26
frame #2: 0x000055555e8f7fb3 energyplus_tests`EnergyPlus::DXCoils::CalcTwoSpeedDXCoilStandardRating(state=0x000055556e294840, DXCoilNum=1) at DXCoils.cc:14500:25
frame #3: 0x000055555b75244c energyplus_tests`EnergyPlus::EnergyPlusFixture_TwoSpeedDXCoilStandardRatingsTest_Test::TestBody(this=0x000055556e293f60) at DXCoils.unit.cc:5574:37
frame #4: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e293f60, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #5: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e293f60) at gtest.cc:2682:50
frame #6: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e17fc40) at gtest.cc:2861:14
frame #7: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #8: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #9: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #10: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #11: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #12: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc108) at main.cc:71:25
frame #13: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc108, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0f8) at libc-start.c:308:16
frame #14: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.TwoSpeedDXCoilStandardRatings_Curve_Fix_Test[ RUN ] EnergyPlusFixture.TwoSpeedDXCoilStandardRatings_Curve_Fix_Test
Process 1052325 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
frame #0: 0x000055555e8dd24f energyplus_tests`EnergyPlus::DXCoils::CalcTotCapSHR(state=0x000055556e294830, InletDryBulb=26.699999999999999, InletHumRat=0.011112859304158127, InletEnthalpy=55173.39761789373, InletWetBulb=19.413927296919592, AirMassFlowRatio=1, AirMassFlow=1, TotCapNom=17580, CBF=1, CCapFTemp=1, CCapFFlow=5, TotCap=0x00007fffffff9150, SHR=0x00007fffffff9158, CondInletTemp=35, Pressure=101325, TotCapModFac=0x000055556ea02940) at DXCoils.cc:12469:39
12466
12467 // Calculate apparatus dew point conditions using TotCap and CBF
12468 hDelta = TotCapCalc / AirMassFlow;
-> 12469 hADP = InletEnthalpy - hDelta / (1.0 - CBF);
^
12470 tADP = PsyTsatFnHPb(state, hADP, Pressure);
12471 wADP = PsyWFnTdbH(state, tADP, hADP);
12472 hTinwADP = PsyHFnTdbW(InletDryBulb, wADP);
Process 1052325 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
* frame #0: 0x000055555e8dd24f energyplus_tests`EnergyPlus::DXCoils::CalcTotCapSHR(state=0x000055556e294830, InletDryBulb=26.699999999999999, InletHumRat=0.011112859304158127, InletEnthalpy=55173.39761789373, InletWetBulb=19.413927296919592, AirMassFlowRatio=1, AirMassFlow=1, TotCapNom=17580, CBF=1, CCapFTemp=1, CCapFFlow=5, TotCap=0x00007fffffff9150, SHR=0x00007fffffff9158, CondInletTemp=35, Pressure=101325, TotCapModFac=0x000055556ea02940) at DXCoils.cc:12469:39
frame #1: 0x000055555e8d3140 energyplus_tests`EnergyPlus::DXCoils::CalcMultiSpeedDXCoil(state=0x000055556e294830, DXCoilNum=1, SpeedRatio=1, CycRatio=1, ForceOn=ObjexxFCL::Optional_bool_const @ 0x00007fffffffa270) at DXCoils.cc:11451:26
frame #2: 0x000055555e8f7fb3 energyplus_tests`EnergyPlus::DXCoils::CalcTwoSpeedDXCoilStandardRating(state=0x000055556e294830, DXCoilNum=1) at DXCoils.cc:14500:25
frame #3: 0x000055555b759402 energyplus_tests`EnergyPlus::EnergyPlusFixture_TwoSpeedDXCoilStandardRatings_Curve_Fix_Test_Test::TestBody(this=0x000055556e294070) at DXCoils.unit.cc:5818:37
frame #4: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e294070, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #5: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e294070) at gtest.cc:2682:50
frame #6: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e17fe70) at gtest.cc:2861:14
frame #7: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #8: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #9: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #10: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #11: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #12: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc0f8) at main.cc:71:25
frame #13: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc0f8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0e8) at libc-start.c:308:16
frame #14: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.UnitarySystemModel_MultispeedDXCoilHeatRecoveryHandling[ RUN ] EnergyPlusFixture.UnitarySystemModel_MultispeedDXCoilHeatRecoveryHandling
Process 1052371 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: invalid floating point operation
frame #0: 0x000055555e8ddf81 energyplus_tests`EnergyPlus::DXCoils::CalcMultiSpeedDXCoilCooling(state=0x000055556e294870, DXCoilNum=1, SpeedRatio=0, CycRatio=0, SpeedNum=0, fanOp=Continuous, compressorOp=Off, SingleMode=0) at DXCoils.cc:12670:24
12667
12668 MSHPWasteHeat = 0.0;
12669 AirMassFlow = thisDXCoil.InletAirMassFlowRate;
-> 12670 AirMassFlowRatioLS = MSHPMassFlowRateLow / thisDXCoil.MSRatedAirMassFlowRate(SpeedNumLS);
^
12671 AirMassFlowRatioHS = MSHPMassFlowRateHigh / thisDXCoil.MSRatedAirMassFlowRate(SpeedNumHS);
12672 if ((AirMassFlow > 0.0) && (CycRatio > 0.0) && (MSHPMassFlowRateHigh == 0.0)) {
12673 ShowSevereError(
Process 1052371 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: invalid floating point operation
* frame #0: 0x000055555e8ddf81 energyplus_tests`EnergyPlus::DXCoils::CalcMultiSpeedDXCoilCooling(state=0x000055556e294870, DXCoilNum=1, SpeedRatio=0, CycRatio=0, SpeedNum=0, fanOp=Continuous, compressorOp=Off, SingleMode=0) at DXCoils.cc:12670:24
frame #1: 0x000055555e818153 energyplus_tests`EnergyPlus::DXCoils::SimDXCoilMultiSpeed(state=0x000055556e294870, CompName=(_M_len = 21, _M_str = "MULTISPD COOLING COIL"), SpeedRatio=0, CycRatio=0, CompIndex=0x00007fffffffa248, SpeedNum=ObjexxFCL::Optional_int_const @ 0x00007fffffffa450, fanOp=Optional<const EnergyPlus::HVAC::FanOp> @ 0x00007fffffffa460, compressorOp=Off, SingleMode=ObjexxFCL::Optional_int_const @ 0x00007fffffffa470) at DXCoils.cc:336:40
frame #2: 0x0000555560b1b006 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::calcUnitaryCoolingSystem(this=0x000055556e9f8b60, state=0x000055556e294870, AirLoopNum=0, FirstHVACIteration=true, PartLoadRatio=0, CompressorOn=Off, OnOffAirFlowRatio=0, CoilCoolHeatRat=1, HXUnitOn=false) at UnitarySystem.cc:11625:45
frame #3: 0x0000555560b16805 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::calcUnitarySystemToLoad(this=0x000055556e9f8b60, state=0x000055556e294870, AirLoopNum=0, FirstHVACIteration=true, CoolPLR=0, HeatPLR=0, OnOffAirFlowRatio=0x00007fffffffb228, SensOutput=0x00007fffffffa938, LatOutput=0x00007fffffffa940, HXUnitOn=false, HeatCoilLoad=0, SuppCoilLoad=0, CompressorOn=Off) at UnitarySystem.cc:11188:47
frame #4: 0x0000555560b0db61 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::initLoadBasedControl(this=0x000055556e9f8b60, state=0x000055556e294870, AirLoopNum=0, FirstHVACIteration=true, OnOffAirFlowRatio=0x00007fffffffb228, ZoneLoad=0x00007fffffffb220) at UnitarySystem.cc:10239:42
frame #5: 0x0000555560afaffc energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::updateUnitarySystemControl(this=0x000055556e9f8b60, state=0x000055556e294870, AirLoopNum=0, OutNode=6, ControlNode=0, OnOffAirFlowRatio=0x00007fffffffb228, FirstHVACIteration=true, OAUCoilOutletTemp=0, ZoneLoad=0x00007fffffffb220, MaxOutletTemp=80) at UnitarySystem.cc:8113:43
frame #6: 0x0000555560af76f9 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::controlUnitarySystemtoLoad(this=0x000055556e9f8b60, state=0x000055556e294870, AirLoopNum=0, FirstHVACIteration=true, CompressorOn=0x00007fffffffb3ec, OAUCoilOutTemp=0, HXUnitOn=false, sysOutputProvided=0x00007fffffffb530, latOutputProvided=0x00007fffffffb538) at UnitarySystem.cc:7689:41
frame #7: 0x0000555560a7d06b energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::simulate(this=0x000055556e9f8b60, state=0x000055556e294870, Name=(_M_len = 20, _M_str = "UNITARY SYSTEM MODEL"), FirstHVACIteration=true, AirLoopNum=0, CompIndex=0x000055556e483ec0, HeatActive=0x00007fffffffb730, CoolActive=0x00007fffffffb760, ZoneOAUnitNum=0, OAUCoilOutTemp=0, ZoneEquipment=true, sysOutputProvided=0x00007fffffffb530, latOutputProvided=0x00007fffffffb538) at UnitarySystem.cc:155:45
frame #8: 0x00005555610d6d7e energyplus_tests`EnergyPlus::ZoneEquipmentManager::SimZoneEquipment(state=0x000055556e294870, FirstHVACIteration=true, SimAir=0x00007fffffffb843) at ZoneEquipmentManager.cc:3292:62
frame #9: 0x00005555610b20e2 energyplus_tests`EnergyPlus::ZoneEquipmentManager::ManageZoneEquipment(state=0x000055556e294870, FirstHVACIteration=true, SimZone=0x00007fffffffb844, SimAir=0x00007fffffffb843) at ZoneEquipmentManager.cc:160:25
frame #10: 0x00005555605c17bb energyplus_tests`EnergyPlus::SizingManager::ManageSizing(state=0x000055556e294870) at SizingManager.cc:577:28
frame #11: 0x000055555dce4e46 energyplus_tests`EnergyPlusFixture_UnitarySystemModel_MultispeedDXCoilHeatRecoveryHandling_Test::TestBody(this=0x000055556e2940b0) at UnitarySystem.unit.cc:13109:32
frame #12: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e2940b0, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #13: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e2940b0) at gtest.cc:2682:50
frame #14: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e258460) at gtest.cc:2861:14
frame #15: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #16: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #17: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #18: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #19: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #20: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc0f8) at main.cc:71:25
frame #21: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc0f8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0e8) at libc-start.c:308:16
frame #22: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.UnitarySystemModel_MultispeedDXCoilSizing[ RUN ] EnergyPlusFixture.UnitarySystemModel_MultispeedDXCoilSizing
Process 1052416 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: invalid floating point operation
frame #0: 0x000055555e8ddf81 energyplus_tests`EnergyPlus::DXCoils::CalcMultiSpeedDXCoilCooling(state=0x000055556e294830, DXCoilNum=1, SpeedRatio=0, CycRatio=0, SpeedNum=0, fanOp=Continuous, compressorOp=Off, SingleMode=0) at DXCoils.cc:12670:24
12667
12668 MSHPWasteHeat = 0.0;
12669 AirMassFlow = thisDXCoil.InletAirMassFlowRate;
-> 12670 AirMassFlowRatioLS = MSHPMassFlowRateLow / thisDXCoil.MSRatedAirMassFlowRate(SpeedNumLS);
^
12671 AirMassFlowRatioHS = MSHPMassFlowRateHigh / thisDXCoil.MSRatedAirMassFlowRate(SpeedNumHS);
12672 if ((AirMassFlow > 0.0) && (CycRatio > 0.0) && (MSHPMassFlowRateHigh == 0.0)) {
12673 ShowSevereError(
Process 1052416 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: invalid floating point operation
* frame #0: 0x000055555e8ddf81 energyplus_tests`EnergyPlus::DXCoils::CalcMultiSpeedDXCoilCooling(state=0x000055556e294830, DXCoilNum=1, SpeedRatio=0, CycRatio=0, SpeedNum=0, fanOp=Continuous, compressorOp=Off, SingleMode=0) at DXCoils.cc:12670:24
frame #1: 0x000055555e818153 energyplus_tests`EnergyPlus::DXCoils::SimDXCoilMultiSpeed(state=0x000055556e294830, CompName=(_M_len = 21, _M_str = "MULTISPD COOLING COIL"), SpeedRatio=0, CycRatio=0, CompIndex=0x00007fffffff9ff8, SpeedNum=ObjexxFCL::Optional_int_const @ 0x00007fffffffa200, fanOp=Optional<const EnergyPlus::HVAC::FanOp> @ 0x00007fffffffa210, compressorOp=Off, SingleMode=ObjexxFCL::Optional_int_const @ 0x00007fffffffa220) at DXCoils.cc:336:40
frame #2: 0x0000555560b1b006 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::calcUnitaryCoolingSystem(this=0x000055556e9d4ad0, state=0x000055556e294830, AirLoopNum=0, FirstHVACIteration=true, PartLoadRatio=0, CompressorOn=Off, OnOffAirFlowRatio=0, CoilCoolHeatRat=1, HXUnitOn=false) at UnitarySystem.cc:11625:45
frame #3: 0x0000555560b16805 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::calcUnitarySystemToLoad(this=0x000055556e9d4ad0, state=0x000055556e294830, AirLoopNum=0, FirstHVACIteration=true, CoolPLR=0, HeatPLR=0, OnOffAirFlowRatio=0x00007fffffffafd8, SensOutput=0x00007fffffffa6e8, LatOutput=0x00007fffffffa6f0, HXUnitOn=false, HeatCoilLoad=0, SuppCoilLoad=0, CompressorOn=Off) at UnitarySystem.cc:11188:47
frame #4: 0x0000555560b0db61 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::initLoadBasedControl(this=0x000055556e9d4ad0, state=0x000055556e294830, AirLoopNum=0, FirstHVACIteration=true, OnOffAirFlowRatio=0x00007fffffffafd8, ZoneLoad=0x00007fffffffafd0) at UnitarySystem.cc:10239:42
frame #5: 0x0000555560afaffc energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::updateUnitarySystemControl(this=0x000055556e9d4ad0, state=0x000055556e294830, AirLoopNum=0, OutNode=6, ControlNode=0, OnOffAirFlowRatio=0x00007fffffffafd8, FirstHVACIteration=true, OAUCoilOutletTemp=0, ZoneLoad=0x00007fffffffafd0, MaxOutletTemp=80) at UnitarySystem.cc:8113:43
frame #6: 0x0000555560af76f9 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::controlUnitarySystemtoLoad(this=0x000055556e9d4ad0, state=0x000055556e294830, AirLoopNum=0, FirstHVACIteration=true, CompressorOn=0x00007fffffffb19c, OAUCoilOutTemp=0, HXUnitOn=false, sysOutputProvided=0x00007fffffffb2e0, latOutputProvided=0x00007fffffffb2e8) at UnitarySystem.cc:7689:41
frame #7: 0x0000555560a7d06b energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::simulate(this=0x000055556e9d4ad0, state=0x000055556e294830, Name=(_M_len = 20, _M_str = "UNITARY SYSTEM MODEL"), FirstHVACIteration=true, AirLoopNum=0, CompIndex=0x000055556f65dcc0, HeatActive=0x00007fffffffb4e0, CoolActive=0x00007fffffffb510, ZoneOAUnitNum=0, OAUCoilOutTemp=0, ZoneEquipment=true, sysOutputProvided=0x00007fffffffb2e0, latOutputProvided=0x00007fffffffb2e8) at UnitarySystem.cc:155:45
frame #8: 0x00005555610d6d7e energyplus_tests`EnergyPlus::ZoneEquipmentManager::SimZoneEquipment(state=0x000055556e294830, FirstHVACIteration=true, SimAir=0x00007fffffffb5f3) at ZoneEquipmentManager.cc:3292:62
frame #9: 0x00005555610b20e2 energyplus_tests`EnergyPlus::ZoneEquipmentManager::ManageZoneEquipment(state=0x000055556e294830, FirstHVACIteration=true, SimZone=0x00007fffffffb5f4, SimAir=0x00007fffffffb5f3) at ZoneEquipmentManager.cc:160:25
frame #10: 0x00005555605c17bb energyplus_tests`EnergyPlus::SizingManager::ManageSizing(state=0x000055556e294830) at SizingManager.cc:577:28
frame #11: 0x000055555dca2bc8 energyplus_tests`EnergyPlusFixture_UnitarySystemModel_MultispeedDXCoilSizing_Test::TestBody(this=0x000055556e294070) at UnitarySystem.unit.cc:9231:32
frame #12: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e294070, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #13: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e294070) at gtest.cc:2682:50
frame #14: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e257920) at gtest.cc:2861:14
frame #15: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #16: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #17: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #18: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #19: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #20: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc108) at main.cc:71:25
frame #21: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc108, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0f8) at libc-start.c:308:16
frame #22: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.UnitarySystemModel_MultispeedDXHeatingCoilOnly[ RUN ] EnergyPlusFixture.UnitarySystemModel_MultispeedDXHeatingCoilOnly
Process 1052566 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: invalid floating point operation
frame #0: 0x000055555e8e7f51 energyplus_tests`EnergyPlus::DXCoils::CalcMultiSpeedDXCoilHeating(state=0x000055556e294830, DXCoilNum=1, SpeedRatio=0, CycRatio=0, SpeedNum=0, fanOp=Continuous, SingleMode=0) at DXCoils.cc:13481:24
13478 }
13479
13480 AirMassFlow = thisDXCoil.InletAirMassFlowRate;
-> 13481 AirMassFlowRatioLS = MSHPMassFlowRateLow / thisDXCoil.MSRatedAirMassFlowRate(SpeedNumLS);
^
13482 AirMassFlowRatioHS = MSHPMassFlowRateHigh / thisDXCoil.MSRatedAirMassFlowRate(SpeedNumHS);
13483 if ((AirMassFlow > 0.0) && (CycRatio > 0.0) && (MSHPMassFlowRateHigh == 0.0)) {
13484 ShowSevereError(
Process 1052566 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: invalid floating point operation
* frame #0: 0x000055555e8e7f51 energyplus_tests`EnergyPlus::DXCoils::CalcMultiSpeedDXCoilHeating(state=0x000055556e294830, DXCoilNum=1, SpeedRatio=0, CycRatio=0, SpeedNum=0, fanOp=Continuous, SingleMode=0) at DXCoils.cc:13481:24
frame #1: 0x000055555e818221 energyplus_tests`EnergyPlus::DXCoils::SimDXCoilMultiSpeed(state=0x000055556e294830, CompName=(_M_len = 17, _M_str = "MS HEATING COIL 1"), SpeedRatio=0, CycRatio=0, CompIndex=0x000055556e9e4cc0, SpeedNum=ObjexxFCL::Optional_int_const @ 0x00007fffffffa3c0, fanOp=Optional<const EnergyPlus::HVAC::FanOp> @ 0x00007fffffffa3d0, compressorOp=Off, SingleMode=ObjexxFCL::Optional_int_const @ 0x00007fffffffa3e0) at DXCoils.cc:348:40
frame #2: 0x0000555560b1ca49 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::calcUnitaryHeatingSystem(this=0x000055556e9e46f0, state=0x000055556e294830, AirLoopNum=0, FirstHVACIteration=true, PartLoadRatio=0, CompressorOn=Off, OnOffAirFlowRatio=0, HeatCoilLoad=0) at UnitarySystem.cc:11796:45
frame #3: 0x0000555560b173e2 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::calcUnitarySystemToLoad(this=0x000055556e9e46f0, state=0x000055556e294830, AirLoopNum=0, FirstHVACIteration=true, CoolPLR=0, HeatPLR=0, OnOffAirFlowRatio=0x00007fffffffb1b8, SensOutput=0x00007fffffffa8c8, LatOutput=0x00007fffffffa8d0, HXUnitOn=false, HeatCoilLoad=0, SuppCoilLoad=0, CompressorOn=Off) at UnitarySystem.cc:11240:47
frame #4: 0x0000555560b0db61 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::initLoadBasedControl(this=0x000055556e9e46f0, state=0x000055556e294830, AirLoopNum=0, FirstHVACIteration=true, OnOffAirFlowRatio=0x00007fffffffb1b8, ZoneLoad=0x00007fffffffb1b0) at UnitarySystem.cc:10239:42
frame #5: 0x0000555560afaffc energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::updateUnitarySystemControl(this=0x000055556e9e46f0, state=0x000055556e294830, AirLoopNum=0, OutNode=0, ControlNode=0, OnOffAirFlowRatio=0x00007fffffffb1b8, FirstHVACIteration=true, OAUCoilOutletTemp=0, ZoneLoad=0x00007fffffffb1b0, MaxOutletTemp=80) at UnitarySystem.cc:8113:43
frame #6: 0x0000555560af76f9 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::controlUnitarySystemtoLoad(this=0x000055556e9e46f0, state=0x000055556e294830, AirLoopNum=0, FirstHVACIteration=true, CompressorOn=0x00007fffffffb37c, OAUCoilOutTemp=0, HXUnitOn=false, sysOutputProvided=0x00007fffffffb4c0, latOutputProvided=0x00007fffffffb4c8) at UnitarySystem.cc:7689:41
frame #7: 0x0000555560a7d06b energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::simulate(this=0x000055556e9e46f0, state=0x000055556e294830, Name=(_M_len = 20, _M_str = "UNITARY SYSTEM MODEL"), FirstHVACIteration=true, AirLoopNum=0, CompIndex=0x000055556eafe900, HeatActive=0x00007fffffffb6c0, CoolActive=0x00007fffffffb6f0, ZoneOAUnitNum=0, OAUCoilOutTemp=0, ZoneEquipment=true, sysOutputProvided=0x00007fffffffb4c0, latOutputProvided=0x00007fffffffb4c8) at UnitarySystem.cc:155:45
frame #8: 0x00005555610d6d7e energyplus_tests`EnergyPlus::ZoneEquipmentManager::SimZoneEquipment(state=0x000055556e294830, FirstHVACIteration=true, SimAir=0x00007fffffffb7d3) at ZoneEquipmentManager.cc:3292:62
frame #9: 0x00005555610b20e2 energyplus_tests`EnergyPlus::ZoneEquipmentManager::ManageZoneEquipment(state=0x000055556e294830, FirstHVACIteration=true, SimZone=0x00007fffffffb7d4, SimAir=0x00007fffffffb7d3) at ZoneEquipmentManager.cc:160:25
frame #10: 0x00005555605c17bb energyplus_tests`EnergyPlus::SizingManager::ManageSizing(state=0x000055556e294830) at SizingManager.cc:577:28
frame #11: 0x000055555dcc174a energyplus_tests`EnergyPlusFixture_UnitarySystemModel_MultispeedDXHeatingCoilOnly_Test::TestBody(this=0x000055556e294070) at UnitarySystem.unit.cc:11094:32
frame #12: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e294070, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #13: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e294070) at gtest.cc:2682:50
frame #14: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e257fe0) at gtest.cc:2861:14
frame #15: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #16: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #17: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #18: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #19: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #20: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc0f8) at main.cc:71:25
frame #21: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc0f8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0e8) at libc-start.c:308:16
frame #22: 0x000055555a943e0e energyplus_tests`_start + 46 EnergyPlusFixture.ZonePTHP_ElectricityRateTest[ RUN ] EnergyPlusFixture.ZonePTHP_ElectricityRateTest
Process 1052619 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
frame #0: 0x000055555e8ce3e0 energyplus_tests`EnergyPlus::DXCoils::CalcDXHeatingCoil(state=0x000055556e294820, DXCoilNum=2, PartLoadRatio=1, fanOp=Cycling, OnOffAirFlowRatio=Optional<double const> @ 0x00007fffffff8810, MaxHeatCap=Optional<double const> @ 0x00007fffffff8820) at DXCoils.cc:11056:26
11053 }
11054
11055 // Get total capacity modifying factor (function of mass flow) for off-rated conditions
-> 11056 AirMassFlowRatio = AirMassFlow / thisDXCoil.RatedAirMassFlowRate(Mode);
^
11057 TotCapFlowModFac = CurveValue(state, thisDXCoil.CCapFFlow(Mode), AirMassFlowRatio);
11058
11059 // Calculate total heating capacity for off-rated conditions
Process 1052619 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
* frame #0: 0x000055555e8ce3e0 energyplus_tests`EnergyPlus::DXCoils::CalcDXHeatingCoil(state=0x000055556e294820, DXCoilNum=2, PartLoadRatio=1, fanOp=Cycling, OnOffAirFlowRatio=Optional<double const> @ 0x00007fffffff8810, MaxHeatCap=Optional<double const> @ 0x00007fffffff8820) at DXCoils.cc:11056:26
frame #1: 0x000055555e816bbe energyplus_tests`EnergyPlus::DXCoils::SimDXCoil(state=0x000055556e294820, CompName=(_M_len = 33, _M_str = "PTHP THERMAL ZONE ONE DX HTG COIL"), compressorOp=On, FirstHVACIteration=false, CompIndex=0x000055556e9d5870, fanOp=Cycling, PartLoadRatio=Optional<double const> @ 0x00007fffffff8ad0, OnOffAFR=Optional<double const> @ 0x00007fffffff8ae0, CoilCoolingHeatingPLRRatio=Optional<double const> @ 0x00007fffffff8af0, MaxCap=Optional<double const> @ 0x00007fffffff8b00, CompCyclingRatio=Optional<double const> @ 0x00007fffffff8b10) at DXCoils.cc:218:26
frame #2: 0x0000555560b1c28d energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::calcUnitaryHeatingSystem(this=0x000055556e9d52a0, state=0x000055556e294820, AirLoopNum=0, FirstHVACIteration=false, PartLoadRatio=1, CompressorOn=On, OnOffAirFlowRatio=1, HeatCoilLoad=0) at UnitarySystem.cc:11774:31
frame #3: 0x0000555560b16885 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::calcUnitarySystemToLoad(this=0x000055556e9d52a0, state=0x000055556e294820, AirLoopNum=0, FirstHVACIteration=false, CoolPLR=0, HeatPLR=1, OnOffAirFlowRatio=0x00007fffffffa118, SensOutput=0x00007fffffff9008, LatOutput=0x00007fffffff9010, HXUnitOn=false, HeatCoilLoad=0, SuppCoilLoad=0, CompressorOn=On) at UnitarySystem.cc:11193:47
frame #4: 0x0000555560afff70 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::controlUnitarySystemOutput(this=0x000055556e9d52a0, state=0x000055556e294820, AirLoopNum=0, FirstHVACIteration=false, OnOffAirFlowRatio=0x00007fffffffa118, ZoneLoad=30000, FullSensibleOutput=0x00007fffffffa120, HXUnitOn=0x00007fffffffa0e4, CompressorOn=On) at UnitarySystem.cc:8639:42
frame #5: 0x0000555560af7b94 energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::controlUnitarySystemtoLoad(this=0x000055556e9d52a0, state=0x000055556e294820, AirLoopNum=0, FirstHVACIteration=false, CompressorOn=0x00007fffffffa2dc, OAUCoilOutTemp=0, HXUnitOn=false, sysOutputProvided=0x00007fffffffa488, latOutputProvided=0x00007fffffffa490) at UnitarySystem.cc:7724:45
frame #6: 0x0000555560a7d06b energyplus_tests`EnergyPlus::UnitarySystems::UnitarySys::simulate(this=0x000055556e9d52a0, state=0x000055556e294820, Name=(_M_len = 21, _M_str = "PTHP THERMAL ZONE ONE"), FirstHVACIteration=false, AirLoopNum=0, CompIndex=0x00007fffffffa47c, HeatActive=0x00007fffffffa470, CoolActive=0x00007fffffffa471, ZoneOAUnitNum=0, OAUCoilOutTemp=0, ZoneEquipment=true, sysOutputProvided=0x00007fffffffa488, latOutputProvided=0x00007fffffffa490) at UnitarySystem.cc:155:45
frame #7: 0x000055555cf1dafd energyplus_tests`EnergyPlus::EnergyPlusFixture_ZonePTHP_ElectricityRateTest_Test::TestBody(this=0x000055556e293f50) at PackagedTerminalHeatPump.unit.cc:4658:20
frame #8: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e293f50, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #9: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e293f50) at gtest.cc:2682:50
frame #10: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e1ff560) at gtest.cc:2861:14
frame #11: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e153d10) at gtest.cc:3015:31
frame #12: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #13: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #14: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #15: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #16: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc108) at main.cc:71:25
frame #17: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc108, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0f8) at libc-start.c:308:16
frame #18: 0x000055555a943e0e energyplus_tests`_start + 46 SQLiteFixture.DXCoils_TestComponentSizingOutput_SingleSpeed[ RUN ] SQLiteFixture.DXCoils_TestComponentSizingOutput_SingleSpeed
Process 1052701 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
frame #0: 0x000055555e431ab7 energyplus_tests`EnergyPlus::CoolingCapacitySizer::size(this=0x00007fffffffa600, state=0x000055556e294830, _originalValue=-99999, errorsFound=0x00007fffffff8889) at CoolingCapacitySizing.cc:504:42
501 HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT]));
502 }
503
-> 504 DXFlowPerCapMinRatio = (DesVolFlow / HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT]) /
^
505 this->autoSizedValue; // set DX Coil Capacity Increase Ratio from Too Low Flow/Capacity Ratio
506 this->autoSizedValue = DesVolFlow / HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT];
507
Process 1052701 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
* frame #0: 0x000055555e431ab7 energyplus_tests`EnergyPlus::CoolingCapacitySizer::size(this=0x00007fffffffa600, state=0x000055556e294830, _originalValue=-99999, errorsFound=0x00007fffffff8889) at CoolingCapacitySizing.cc:504:42
frame #1: 0x000055555e8982db energyplus_tests`EnergyPlus::DXCoils::SizeDXCoil(state=0x000055556e294830, DXCoilNum=1) at DXCoils.cc:7629:73
frame #2: 0x000055555b71155a energyplus_tests`EnergyPlus::SQLiteFixture_DXCoils_TestComponentSizingOutput_SingleSpeed_Test::TestBody(this=0x000055556e2940c0) at DXCoils.unit.cc:3514:24
frame #3: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e2940c0, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #4: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e2940c0) at gtest.cc:2682:50
frame #5: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e17e850) at gtest.cc:2861:14
frame #6: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e164f80) at gtest.cc:3015:31
frame #7: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #8: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #9: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #10: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #11: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc108) at main.cc:71:25
frame #12: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc108, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0f8) at libc-start.c:308:16
frame #13: 0x000055555a943e0e energyplus_tests`_start + 46 SQLiteFixture.DXCoils_TestComponentSizingOutput_TwoSpeed[ RUN ] SQLiteFixture.DXCoils_TestComponentSizingOutput_TwoSpeed
Process 1052743 stopped
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
frame #0: 0x000055555e431ab7 energyplus_tests`EnergyPlus::CoolingCapacitySizer::size(this=0x00007fffffffa410, state=0x000055556e294810, _originalValue=-99999, errorsFound=0x00007fffffff8699) at CoolingCapacitySizing.cc:504:42
501 HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT]));
502 }
503
-> 504 DXFlowPerCapMinRatio = (DesVolFlow / HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT]) /
^
505 this->autoSizedValue; // set DX Coil Capacity Increase Ratio from Too Low Flow/Capacity Ratio
506 this->autoSizedValue = DesVolFlow / HVAC::MinRatedVolFlowPerRatedTotCap[(int)state.dataHVACGlobal->DXCT];
507
Process 1052743 launched: '/home/julien/Software/Others/EnergyPlus-build2/Products/energyplus_tests' (x86_64)
(lldb) bt
* thread #1, name = 'energyplus_test', stop reason = signal SIGFPE: floating point divide by zero
* frame #0: 0x000055555e431ab7 energyplus_tests`EnergyPlus::CoolingCapacitySizer::size(this=0x00007fffffffa410, state=0x000055556e294810, _originalValue=-99999, errorsFound=0x00007fffffff8699) at CoolingCapacitySizing.cc:504:42
frame #1: 0x000055555e8982db energyplus_tests`EnergyPlus::DXCoils::SizeDXCoil(state=0x000055556e294810, DXCoilNum=1) at DXCoils.cc:7629:73
frame #2: 0x000055555b70a679 energyplus_tests`EnergyPlus::SQLiteFixture_DXCoils_TestComponentSizingOutput_TwoSpeed_Test::TestBody(this=0x000055556e2940a0) at DXCoils.unit.cc:3290:24
frame #3: 0x000055556138780d energyplus_tests`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=0x000055556e2940a0, method=21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2665:29
frame #4: 0x000055556133ed2f energyplus_tests`testing::Test::Run(this=0x000055556e2940a0) at gtest.cc:2682:50
frame #5: 0x000055556133feba energyplus_tests`testing::TestInfo::Run(this=0x000055556e17e650) at gtest.cc:2861:14
frame #6: 0x0000555561340dba energyplus_tests`testing::TestSuite::Run(this=0x000055556e164f80) at gtest.cc:3015:31
frame #7: 0x000055556135b2cb energyplus_tests`testing::internal::UnitTestImpl::RunAllTests(this=0x000055556e152730) at gtest.cc:5855:47
frame #8: 0x0000555561389a70 energyplus_tests`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=0x000055556e152730, method=7a ab 35 61 55 55 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2665:29
frame #9: 0x0000555561358943 energyplus_tests`testing::UnitTest::Run(this=0x000055556dca7a80) at gtest.cc:5438:55
frame #10: 0x000055555e3c1c1c energyplus_tests`RUN_ALL_TESTS() at gtest.h:2490:49
frame #11: 0x000055555e3c1b1f energyplus_tests`main(argc=1, argv=0x00007fffffffc108) at main.cc:71:25
frame #12: 0x00007ffff715d083 libc.so.6`__libc_start_main(main=(energyplus_tests`main at main.cc:59:1), argc=2, argv=0x00007fffffffc108, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffc0f8) at libc-start.c:308:16
frame #13: 0x000055555a943e0e energyplus_tests`_start + 46 |
This was referenced Aug 12, 2024
Myoldmopar
added
the
MediumComplexityApproved
Used for subcontractor defect complexity requests
label
Aug 14, 2024
Closed via #10578 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Defect
Includes code to repair a defect in EnergyPlus
Developer Issue
Related to cmake, packaging, installers, or developer tooling (CI, etc)
MediumComplexityApproved
Used for subcontractor defect complexity requests
Issue overview
29 tests have floating point violations currently, cf #10578 (comment)
Left-out
Details
Some additional details for this issue (if relevant):
Checklist
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
The text was updated successfully, but these errors were encountered: