Fixed failing EnergyPlus unit test on develop #6215#6216
Conversation
Myoldmopar
left a comment
There was a problem hiding this comment.
This is great, I think we just need to add another clear_state to the unit test fixture. Can you confirm? If so I can throw it in there real quick and get this merged.
| ZoneContamGenericBLDiff.deallocate(); | ||
| ZoneContamGenericDVS.deallocate(); | ||
| ZoneContamGenericDRS.deallocate(); | ||
| } |
| { | ||
| PIU.deallocate(); | ||
| } | ||
|
|
There was a problem hiding this comment.
Not just one but two new clear_states. 👍 👍
| DataBranchAirLoopPlant::clear_state(); | ||
| DataAirSystems::clear_state(); | ||
| DataBranchNodeConnections::clear_state(); | ||
| DataContaminantBalance::clear_state(); |
There was a problem hiding this comment.
We need to add the PIU clear_state here too, right?
…-Unit-Test-On-Develop
…hub.com/NREL/EnergyPlus into Failing-EnergyPlus-Unit-Test-On-Develop
|
Code changes look good. I went ahead and added in the second |
Issue #6215
Pull request overview
Addressed failing unit tests on develop:
The three unit test failure was caused by missing variables de-allocation. Now all EnergyPlus unit test suite run to completion in release mode in my Windows 7 machine. (from @Nigusse )
Also addressed failure in ZoneIdealLoadsTest.IdealLoads_PlenumTest. Added DataContaminantBalance::clear_state.
Work Checklist
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Review Checklist
This will not be exhaustively relevant to every PR.