Skip to content

Commit c6c0e30

Browse files
Merge remote-tracking branch 'upstream/issue3492_DirectEvaporativeCooler' into issue3492_DirectEvaporativeCooler
2 parents 90adf03 + 961572a commit c6c0e30

2,701 files changed

Lines changed: 135191 additions & 43348 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/formatting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# Skip if the commit message contains "ci skip"
2525
if: "!contains(github.event.head_commit.message, 'ci skip')"
2626

27-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-24.04
2828

2929
steps:
3030
# Checks-out repository under $GITHUB_WORKSPACE, so job can access it
@@ -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@0bc654fd913c83f64163be167807e8989eff0293
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: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
os: Linux
2-
dist: focal
2+
dist: nobel
33

44
language: python
55

66
python:
7-
- "3.8"
7+
- "3.12"
88

99
branches:
1010
only:
@@ -31,10 +31,10 @@ services:
3131
env:
3232
global:
3333
- DOCKER_REPONAME=lbnlblum
34-
- BUILDINGSPY_VERSION=BuildingsPy@0bc654fd913c83f64163be167807e8989eff0293
35-
- OMC_VERSION=ubuntu-2204-omc:1.23.0-1
36-
- OPTIMICA_VERSION=travis-ubuntu-2204-optimica:1.51.6
37-
- DYMOLA_VERSION=travis_ubuntu-2004_dymola:2024xRefresh1-x86_64
34+
- BUILDINGSPY_VERSION=BuildingsPy@v5.2.0
35+
- OMC_VERSION=ubuntu-2204-omc:1.24.0-1
36+
- OPTIMICA_VERSION=travis-ubuntu-2204-optimica:1.55.11
37+
- DYMOLA_VERSION=travis_ubuntu-2004_dymola:2025x-x86_64_rev-2
3838
- ENERGYPLUS_9_6_0=EnergyPlus-9.6.0-f420c06a69-Linux-Ubuntu20.04-x86_64
3939
- ENERGYPLUS_23_1_0=EnergyPlus-23.1.0-87ed9199d4-Linux-Ubuntu20.04-x86_64
4040
- MODELICA_JSON_VERSION=6d950c3592fa021aa914ba4ff34a67cbb69962c6
@@ -47,9 +47,12 @@ env:
4747
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.{Air,Examples}\""
4848
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.{Air,Examples}\""
4949
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.{Air,Examples}\""
50-
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.EnergyPlus_9_6_0\""
51-
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.EnergyPlus_9_6_0\""
52-
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.EnergyPlus_9_6_0\""
50+
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.Controls\""
51+
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Controls\""
52+
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.Controls\""
53+
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.EnergyPlus_24_2_0\""
54+
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.EnergyPlus_24_2_0\""
55+
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.EnergyPlus_24_2_0\""
5356
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.Detailed.{BaseClasses,Constructions,Examples}\""
5457
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.Detailed.{BaseClasses,Constructions,Examples}\""
5558
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.Detailed.{BaseClasses,Constructions,Examples}\""
@@ -69,14 +72,11 @@ env:
6972
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Applications\""
7073
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.Applications\""
7174
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.DHC.{ETS,Loads,Networks,Plants}\""
72-
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.DHC.{ETS,Loads,Networks,Plants}\""
75+
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.DHC.{ETS,Loads,Networks,Plants}\" SINGLEPROC=\"true\""
7376
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.DHC.{ETS,Loads,Networks,Plants}\""
74-
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.DHC.Examples.Combined\""
75-
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.DHC.Examples.Combined\" SINGLEPROC=\"true\""
76-
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.DHC.Examples.Combined\""
77-
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.DHC.Examples.{Cooling,Steam}\""
78-
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.DHC.Examples.{Cooling,Steam}\""
79-
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.DHC.Examples.{Cooling,Steam}\""
77+
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.DHC.Examples\""
78+
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.DHC.Examples\" SINGLEPROC=\"true\""
79+
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.DHC.Examples\""
8080
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.{Actuators,BaseClasses,Boilers,Chillers,CHPs,Delays}\""
8181
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.{Actuators,BaseClasses,Boilers,Chillers,CHPs,Delays}\""
8282
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.{Actuators,BaseClasses,Boilers,Chillers,CHPs,Delays}\""
@@ -95,9 +95,9 @@ env:
9595
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.Electrical\""
9696
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Electrical\""
9797
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.Electrical\""
98-
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.{Airflow,BoundaryConditions,Controls}\""
99-
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.{Airflow,BoundaryConditions,Controls}\""
100-
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.{Airflow,BoundaryConditions,Controls}\""
98+
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.{Airflow,BoundaryConditions}\""
99+
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.{Airflow,BoundaryConditions}\""
100+
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.{Airflow,BoundaryConditions}\""
101101
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.HeatTransfer\""
102102
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.HeatTransfer\""
103103
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.HeatTransfer\""
@@ -110,10 +110,14 @@ env:
110110
- TEST_ARG="make test-dymola PACKAGE=\"Buildings.Templates\""
111111
- TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Templates\""
112112
- TEST_ARG="make test-optimica PACKAGE=\"Buildings.Templates\""
113-
- TEST_ARG="make test-templates-dymola"
113+
- TEST_ARG="make test-templates-dymola PACKAGE=\"Buildings.Templates.AirHandlersFans\" COVER=0.5"
114+
- TEST_ARG="make test-templates-dymola PACKAGE=\"Buildings.Templates.Plants.HeatPumps\" COVER=0.2"
115+
- TEST_ARG="make test-templates-dymola PACKAGE=\"Buildings.Templates.ZoneEquipment\""
114116

115117
before_install:
116118
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
119+
- nvm install 24.5 # Installs the specific version
120+
- nvm use 24.5
117121
- if [[ "$TEST_ARG" == *test-dymola* || "$TEST_ARG" == *test-templates-dymola* || "$TEST_ARG" == *test-bestest* || "$TEST_ARG" == *spawn-portability* ]]; then
118122
docker pull "$DOCKER_REPONAME"/${DYMOLA_VERSION};
119123
cp Buildings/Resources/Scripts/travis/dymola/dymola $HOME/bin/;
@@ -157,14 +161,13 @@ before_install:
157161
install:
158162
- git lfs pull
159163
- pip3 install --upgrade pip wheel
160-
- pip3 install --only-binary=numpy,scipy,matplotlib numpy==1.21.4 scipy==1.7.3 matplotlib==3.5.1
161164
- pip3 install git+https://github.com/lbl-srg/${BUILDINGSPY_VERSION}
162165
- if [[ "$TEST_ARG" == *test-energyplus* ]] || [[ "$TEST_ARG" == *test-templates* ]]; then
163166
export ENERGYPLUS_9_6_0=${ENERGYPLUS_9_6_0};
164167
export ENERGYPLUS_23_1_0=${ENERGYPLUS_23_1_0};
165-
pip3 install pandas==1.3.5;
168+
pip3 install pandas==2.3.2;
166169
fi;
167-
- if [[ "$TEST_ARG" == *EnergyPlus_9_6_0* ]] || [[ "$TEST_ARG" == *Buildings.DHC.{ETS,Loads,Networks,Plants}* ]] || [[ "$TEST_ARG" == *spawn* ]]; then
170+
- if [[ "$TEST_ARG" == *EnergyPlus_24_2_0* ]] || [[ "$TEST_ARG" == *Buildings.{Obsolete* ]] || [[ "$TEST_ARG" == *Buildings.DHC.{ETS,Loads,Networks,Plants}* ]] || [[ "$TEST_ARG" == *spawn* ]]; then
168171
echo "Installing Spawn binaries";
169172
Buildings/Resources/src/ThermalZones/install.py --binaries-for-os-only;
170173
fi;

0 commit comments

Comments
 (0)