Skip to content

Commit

Permalink
Space IV.5 - Attempt to debug linux unit test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwitte committed Sep 5, 2024
1 parent d285a49 commit d7e4539
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tst/EnergyPlus/unit/SizingManager.unit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4223,6 +4223,17 @@ TEST_F(EnergyPlusFixture, SizingManager_ZoneSizing_Coincident_NonAir_10x_Latent_
ASSERT_TRUE(process_idf(idf_objects));
SimulationManager::ManageSimulation(*state);

int space1Num = 1;
int curSimDay = 1;
auto &calSpSiz = state->dataSize->CalcSpaceSizing(curSimDay, space1Num);

EXPECT_NEAR(calSpSiz.LatentCoolLoadSeq(57), 7500.00, 0.01);
EXPECT_NEAR(calSpSiz.LatentCoolLoadSeq(58), 8333.33, 0.01);
EXPECT_NEAR(calSpSiz.LatentCoolLoadSeq(59), 9166.66, 0.01);
EXPECT_NEAR(calSpSiz.LatentCoolLoadSeq(60), 10000.00, 0.01);
EXPECT_NEAR(calSpSiz.LatentCoolLoadSeq(61), 10000.00, 0.01);
EXPECT_TRUE(calSpSiz.LatentCoolLoadSeq(60) > calSpSiz.LatentCoolLoadSeq(59));
EXPECT_TRUE(calSpSiz.LatentCoolLoadSeq(61) == calSpSiz.LatentCoolLoadSeq(60));
EXPECT_EQ("18989.14", OutputReportPredefined::RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchSpHtCalcDesLd, "SPACE 1"));
EXPECT_EQ("0.527", OutputReportPredefined::RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchSpHtCalcDesAirFlow, "SPACE 1"));
EXPECT_EQ("0.527", OutputReportPredefined::RetrievePreDefTableEntry(*state, state->dataOutRptPredefined->pdchSpHtUserDesAirFlow, "SPACE 1"));
Expand Down

4 comments on commit d7e4539

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SpacePart4Followup (mjwitte) - Win64-Windows-10-VisualStudio-16: OK (2879 of 2879 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SpacePart4Followup (mjwitte) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (2900 of 2901 tests passed, 0 test warnings)

Failures:\n

EnergyPlusFixture Test Summary

  • Passed: 1591
  • Failed: 1

Build Badge Test Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SpacePart4Followup (mjwitte) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-RelWithDebInfo: OK (2084 of 2085 tests passed, 0 test warnings)

Failures:\n

EnergyPlusFixture Test Summary

  • Passed: 1591
  • Failed: 1

Build Badge Test Badge Coverage Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SpacePart4Followup (mjwitte) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-RelWithDebInfo: OK (799 of 799 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.