Skip to content

Commit e60cf52

Browse files
committed
Merge branch 'master' into issue4153_devPostRelease
2 parents 14bd701 + 20754a3 commit e60cf52

7 files changed

Lines changed: 26 additions & 10 deletions

File tree

.github/workflows/formatting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: pip3 install --upgrade pip wheel
4141

4242
- name: "Install BuildingsPy"
43-
run: pip3 install git+https://github.com/lbl-srg/BuildingsPy@0f21a33a8416149d6aa297e25c6e7dc11e1d21bd
43+
run: pip3 install git+https://github.com/lbl-srg/BuildingsPy@v5.2.0
4444

4545
- name: Check for UTF-8 BOM
4646
run : |

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
env:
3232
global:
3333
- DOCKER_REPONAME=lbnlblum
34-
- BUILDINGSPY_VERSION=BuildingsPy@0f21a33a8416149d6aa297e25c6e7dc11e1d21bd
34+
- BUILDINGSPY_VERSION=BuildingsPy@v5.2.0
3535
- OMC_VERSION=ubuntu-2204-omc:1.24.0-1
3636
- OPTIMICA_VERSION=travis-ubuntu-2204-optimica:1.55.11
3737
- DYMOLA_VERSION=travis_ubuntu-2004_dymola:2025x-x86_64_rev-1
@@ -161,7 +161,7 @@ install:
161161
export ENERGYPLUS_23_1_0=${ENERGYPLUS_23_1_0};
162162
pip3 install pandas==1.3.5;
163163
fi;
164-
- if [[ "$TEST_ARG" == *EnergyPlus_9_6_0* ]] || [[ "$TEST_ARG" == *Buildings.DHC.{ETS,Loads,Networks,Plants}* ]] || [[ "$TEST_ARG" == *spawn* ]]; then
164+
- if [[ "$TEST_ARG" == *EnergyPlus_24_2_0* ]] || [[ "$TEST_ARG" == *Buildings.{Obsolete* ]] || [[ "$TEST_ARG" == *Buildings.DHC.{ETS,Loads,Networks,Plants}* ]] || [[ "$TEST_ARG" == *spawn* ]]; then
165165
echo "Installing Spawn binaries";
166166
Buildings/Resources/src/ThermalZones/install.py --binaries-for-os-only;
167167
fi;

Buildings/Resources/Scripts/BuildingsPy/conf.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,10 @@
480480
dymola:
481481
comment: Requires docker update to Ubuntu 22.04 due to libgc.
482482
simulate: false
483+
- model_name: Buildings.ThermalZones.EnergyPlus_24_2_0.Examples.SmallOffice.ASHRAE2006Spring
484+
openmodelica:
485+
comment: timed out after 600 seconds on travis but works locally
486+
simulate: false
483487
- model_name: Buildings.ThermalZones.EnergyPlus_24_2_0.Examples.SmallOffice.ASHRAE2006Summer
484488
openmodelica:
485489
comment: timed out after 300 seconds
@@ -512,6 +516,14 @@
512516
- model_name: Buildings.ThermalZones.EnergyPlus_24_2_0.Examples.SmallOffice.Unconditioned
513517
optimica:
514518
rtol: 1.0e-08
519+
- model_name: Buildings.ThermalZones.EnergyPlus_24_2_0.Validation.MultipleBuildings.TwoIdenticalOneZoneBuildings
520+
openmodelica:
521+
comment: error during shutdown, https://github.com/lbl-srg/modelica-buildings/issues/3345
522+
simulate: false
523+
- model_name: Buildings.ThermalZones.EnergyPlus_24_2_0.Validation.MultipleBuildings.TwoIdenticalTwoZoneBuildings
524+
openmodelica:
525+
comment: error during shutdown, https://github.com/lbl-srg/modelica-buildings/issues/3345
526+
simulate: false
515527
- model_name: Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11
516528
openmodelica:
517529
comment: Inputs differ by more than threShold. Check output 'satisfied' for when violation(s) happened. Segmentation fault (core dumped)

Buildings/Resources/Scripts/Conversion/ConvertBuildings_from_11_to_12.0.0.mos

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ convertClear();
99
convertClass("Buildings.ThermalZones.EnergyPlus_9_6_0",
1010
"Buildings.Obsolete.ThermalZones.EnergyPlus_9_6_0");
1111

12+
// Conversion for https://github.com/lbl-srg/modelica-buildings/issues/4134
13+
convertModifiers("Buildings.DHC.ETS.Combined.Controls.Reset",
14+
{"THeaWatSupSetMin"}, {"TWatSupSetMinMax"}, true);
15+
1216
// Conversion for https://github.com/ibpsa/modelica-ibpsa/issues/1956
1317
convertModifiers("Buildings.Fluid.SolarCollectors.ASHRAE93",
1418
{"nPanelsSer"}, fill("",0), true);

Buildings/Resources/Scripts/travis/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ test-openmodelica-spawn-spaces-success:
8383
@mkdir -p $(TMP)
8484
@chmod a+rwx $(TMP)
8585
@cp -rp $(ROOT)/Buildings $(TMP)/
86-
@mv $(TMP)/Buildings $(TMP)/Buildings\ 9.0.0
86+
@mv $(TMP)/Buildings $(TMP)/Buildings\ 12.0.0
8787
@cp $(ROOT)/Buildings/Resources/Scripts/travis/SpawnTest.mo $(TMP)
8888
@(cd $(TMP) && \
8989
echo "clearCommandLineOptions();\n" \
@@ -96,7 +96,7 @@ test-openmodelica-spawn-spaces-success:
9696
"setMatchingAlgorithm(\"PFPlusExt\");\n" \
9797
"setIndexReductionMethod(\"dynamicStateSelection\");\n" \
9898
"loadModel(Modelica, {\"4.0.0\"});\n" \
99-
"loadFile(\"Buildings 9.0.0/package.mo\");\n" \
99+
"loadFile(\"Buildings 12.0.0/package.mo\");\n" \
100100
"loadFile(\"SpawnTest.mo\");\n" \
101101
"simulate(SpawnTest);\n" \
102102
"getErrorString();" > openmod.mos )
@@ -113,7 +113,7 @@ test-openmodelica-spawn-spaces-failure:
113113
@mkdir -p $(TMP)
114114
@chmod a+rwx $(TMP)
115115
@cp -rp $(ROOT)/Buildings $(TMP)/
116-
@mv $(TMP)/Buildings $(TMP)/Buildings\ 9.0.0
116+
@mv $(TMP)/Buildings $(TMP)/Buildings\ 12.0.0
117117
@cp $(ROOT)/Buildings/Resources/Scripts/travis/SpawnTest.mo $(TMP)
118118
@(cd $(TMP) && \
119119
echo "clearCommandLineOptions();\n" \
@@ -126,7 +126,7 @@ test-openmodelica-spawn-spaces-failure:
126126
"setMatchingAlgorithm(\"PFPlusExt\");\n" \
127127
"setIndexReductionMethod(\"dynamicStateSelection\");\n" \
128128
"loadModel(Modelica, {\"4.0.0\"});\n" \
129-
"loadFile(\"Buildings 9.0.0/package.mo\");\n" \
129+
"loadFile(\"Buildings 12.0.0/package.mo\");\n" \
130130
"loadFile(\"SpawnTest.mo\");\n" \
131131
"simulate(SpawnTest);\n" \
132132
"getErrorString();" > openmod.mos )
@@ -140,7 +140,7 @@ test-dymola-spawn-spaces:
140140
@$(eval TMP := $(shell mktemp --suffix=-LBL-Buildings -d))
141141
@mkdir -p $(TMP)
142142
@cp -rp $(ROOT)/Buildings $(TMP)/
143-
@mv $(TMP)/Buildings $(TMP)/Buildings\ 9.0.0
143+
@mv $(TMP)/Buildings $(TMP)/Buildings\ 12.0.0
144144
@cp $(ROOT)/Buildings/Resources/Scripts/travis/SpawnTest.mo $(TMP)
145145
@(cd $(TMP) && \
146146
echo "simulateModel(\"SpawnTest\", stopTime=432000, method=\"Cvode\", tolerance=1e-06);" > run.mos && \

Buildings/Resources/Scripts/travis/pyfmi/runSpawnFromOtherDirectory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def run_test(pathVariable):
8383
"des": "my-bin"},
8484
{"src": os.path.abspath(os.path.join("Buildings", "Resources", "weatherdata")),
8585
"des": "some_weather_directory_that_the_fmu_does_not_know_about"},
86-
{"src": os.path.abspath(os.path.join("Buildings", "Resources", "Data", "ThermalZones", "EnergyPlus_9_6_0")),
86+
{"src": os.path.abspath(os.path.join("Buildings", "Resources", "Data", "ThermalZones", "EnergyPlus_24_2_0")),
8787
"des": "some_idf_directory_that_the_fmu_does_not_know_about"},
8888
]
8989

Buildings/UsersGuide/ReleaseNotes/Version_11_1_0.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ OPTIMICA 1.55.11 and recent versions of Impact.
1414
</p>
1515
<p>
1616
This backward compatible version adds a new package with heat pump models
17-
that can be operate in reversible model to provide heating or cooling,
17+
that can be operate in reversible mode to provide heating or cooling,
1818
and that can be configured to use various approaches to compute performance, such as
1919
data tables or Carnot analogy.
2020
</p>

0 commit comments

Comments
 (0)