-
Notifications
You must be signed in to change notification settings - Fork 394
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
CalcEquipmentFlowRates assert failure #10302
Labels
Defect
Includes code to repair a defect in EnergyPlus
LowComplexityApproved
Used for subcontractor defect complexity requests
Comments
Backtrace on GCC Ubuntu 20.04
|
What puzzles me if that this logic error has been there for a long time, but it wasn't crashing in 23.1.0. Edit: Temperature of surfaces was probably different. |
Myoldmopar
added
the
LowComplexityApproved
Used for subcontractor defect complexity requests
label
Apr 24, 2024
jmarrec
added a commit
that referenced
this issue
May 27, 2024
```shell $ Products/energyplus_tests -- --gtest_filter=*CalcConvCoeffBetweenPlates* Note: Google Test filter = *CalcConvCoeffBetweenPlates* [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from EnergyPlusFixture [ RUN ] EnergyPlusFixture.CalcConvCoeffBetweenPlates /Users/julien/Software/Others/EnergyPlus/tst/EnergyPlus/unit/SolarCollectors.unit.cc:76: Failure Value of: std::isfinite(hConvCoef) Actual: false Expected: true /Users/julien/Software/Others/EnergyPlus/tst/EnergyPlus/unit/SolarCollectors.unit.cc:77: Failure The difference between 4.71593 and hConvCoef is inf, which exceeds 0.001, where 4.71593 evaluates to 4.7159300000000002, hConvCoef evaluates to -inf, and 0.001 evaluates to 0.001. [ FAILED ] EnergyPlusFixture.CalcConvCoeffBetweenPlates (69 ms) [----------] 1 test from EnergyPlusFixture (69 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (69 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] EnergyPlusFixture.CalcConvCoeffBetweenPlates ```
Merged
20 tasks
jmarrec
added a commit
that referenced
this issue
May 29, 2024
```shell $ Products/energyplus_tests -- --gtest_filter=*CalcConvCoeffBetweenPlates* Note: Google Test filter = *CalcConvCoeffBetweenPlates* [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from EnergyPlusFixture [ RUN ] EnergyPlusFixture.CalcConvCoeffBetweenPlates /Users/julien/Software/Others/EnergyPlus/tst/EnergyPlus/unit/SolarCollectors.unit.cc:76: Failure Value of: std::isfinite(hConvCoef) Actual: false Expected: true /Users/julien/Software/Others/EnergyPlus/tst/EnergyPlus/unit/SolarCollectors.unit.cc:77: Failure The difference between 4.71593 and hConvCoef is inf, which exceeds 0.001, where 4.71593 evaluates to 4.7159300000000002, hConvCoef evaluates to -inf, and 0.001 evaluates to 0.001. [ FAILED ] EnergyPlusFixture.CalcConvCoeffBetweenPlates (69 ms) [----------] 1 test from EnergyPlusFixture (69 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (69 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] EnergyPlusFixture.CalcConvCoeffBetweenPlates ```
Myoldmopar
added a commit
that referenced
this issue
May 31, 2024
Fix #10302 - CalcEquipmentFlowRates assert failure due to out of bounds std::array indexing
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
LowComplexityApproved
Used for subcontractor defect complexity requests
Issue overview
An OpenStudio-resources test (
solar_collector_integralcollectorstorage.rb
/ osm) that used to run fine is now failing in Debug, and showing All NaNs in the eplustbl.htm in Release.Here is a backtrace on mac M1, but you'd probably get a more accurate pinpoint on a non M1 GCC (I think it'll throw at the point where the NaN is assigned to this->HotMassFlowRate):
**Backtrace: click to expand**
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: