|
1 | 1 | os: Linux |
2 | | -dist: focal |
| 2 | +dist: nobel |
3 | 3 |
|
4 | 4 | language: python |
5 | 5 |
|
6 | 6 | python: |
7 | | - - "3.8" |
| 7 | + - "3.12" |
8 | 8 |
|
9 | 9 | branches: |
10 | 10 | only: |
|
41 | 41 | - MODELICA_JSON_HOME=${TRAVIS_BUILD_DIR}/modelica-json |
42 | 42 |
|
43 | 43 | jobs: |
44 | | - # - TEST_ARG="make test-cdl-conformance" |
45 | | - # - TEST_ARG="make test-energyplus-validations test-dymola-spawn-spaces test-openmodelica-spawn-spaces test-openmodelica-cdl" #target test-optimica-spawn-fmu removed as it requires a local installation of OCT |
46 | | - # - TEST_ARG="make test-bestest" |
47 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.{Air,Examples}\"" |
48 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.{Air,Examples}\"" |
49 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.{Air,Examples}\"" |
50 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.EnergyPlus_24_2_0\"" |
51 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.EnergyPlus_24_2_0\"" |
52 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.EnergyPlus_24_2_0\"" |
53 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.Detailed.{BaseClasses,Constructions,Examples}\"" |
54 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.Detailed.{BaseClasses,Constructions,Examples}\"" |
55 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.Detailed.{BaseClasses,Constructions,Examples}\"" |
56 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.BESTEST\"" |
57 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.BESTEST\"" |
58 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.BESTEST\"" |
59 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.{Initialization,LBNL_71T,TestConditionalConstructions}\"" |
60 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.{Initialization,LBNL_71T,TestConditionalConstructions}\"" |
61 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.{Initialization,LBNL_71T,TestConditionalConstructions}\"" |
62 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.Detailed.FLEXLAB\"" |
63 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.Detailed.FLEXLAB\"" |
64 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.Detailed.FLEXLAB\"" |
65 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.{ISO13790,ReducedOrder}\"" |
66 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.{ISO13790,ReducedOrder}\"" |
67 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.{ISO13790,ReducedOrder}\"" |
68 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Applications\"" |
69 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Applications\"" |
70 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Applications\"" |
71 | | - # - 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}\" SINGLEPROC=\"true\"" |
73 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.DHC.{ETS,Loads,Networks,Plants}\"" |
74 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.DHC.Examples\"" |
75 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.DHC.Examples\" SINGLEPROC=\"true\"" |
76 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.DHC.Examples\"" |
77 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.{Actuators,BaseClasses,Boilers,Chillers,CHPs,Delays}\"" |
78 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.{Actuators,BaseClasses,Boilers,Chillers,CHPs,Delays}\"" |
79 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.{Actuators,BaseClasses,Boilers,Chillers,CHPs,Delays}\"" |
80 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.{Examples,FMI}\"" |
81 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.{Examples,FMI}\"" |
82 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.{Examples,FMI}\"" |
83 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.FixedResistances\"" |
84 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.FixedResistances\"" |
85 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.FixedResistances\"" |
86 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.{Geothermal,HeatExchangers,HeatPumps,Humidifiers,HydronicConfigurations,Interfaces}\"" |
87 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.{Geothermal,HeatExchangers,HeatPumps,Humidifiers,HydronicConfigurations,Interfaces}\"" |
88 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.{Geothermal,HeatExchangers,HeatPumps,Humidifiers,HydronicConfigurations,Interfaces}\"" |
89 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.{MassExchangers,MixingVolumes,Movers,Sensors,SolarCollectors,Sources,Storage,Utilities}\"" |
90 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.{MassExchangers,MixingVolumes,Movers,Sensors,SolarCollectors,Sources,Storage,Utilities}\"" |
91 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.{MassExchangers,MixingVolumes,Movers,Sensors,SolarCollectors,Sources,Storage,Utilities}\"" |
92 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Electrical\"" |
93 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Electrical\"" |
94 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Electrical\"" |
95 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.{Airflow,BoundaryConditions,Controls}\"" |
96 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.{Airflow,BoundaryConditions,Controls}\"" |
97 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.{Airflow,BoundaryConditions,Controls}\"" |
98 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.HeatTransfer\"" |
99 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.HeatTransfer\"" |
100 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.HeatTransfer\"" |
101 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.{Obsolete,Occupants,Media}\"" |
102 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.{Obsolete,Occupants,Media}\"" |
103 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.{Obsolete,Occupants,Media}\"" |
104 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Utilities\"" |
105 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Utilities\"" |
106 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Utilities\"" |
107 | | - # - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Templates\"" |
108 | | - # - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Templates\"" |
109 | | - # - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Templates\"" |
110 | | - - TEST_ARG="make test-templates-dymola PACKAGE=\"Buildings.Templates.Plants.HeatPumps\"" |
| 44 | + - TEST_ARG="make test-cdl-conformance" |
| 45 | + - TEST_ARG="make test-energyplus-validations test-dymola-spawn-spaces test-openmodelica-spawn-spaces test-openmodelica-cdl" #target test-optimica-spawn-fmu removed as it requires a local installation of OCT |
| 46 | + - TEST_ARG="make test-bestest" |
| 47 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.{Air,Examples}\"" |
| 48 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.{Air,Examples}\"" |
| 49 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.{Air,Examples}\"" |
| 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\"" |
| 56 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.Detailed.{BaseClasses,Constructions,Examples}\"" |
| 57 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.Detailed.{BaseClasses,Constructions,Examples}\"" |
| 58 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.Detailed.{BaseClasses,Constructions,Examples}\"" |
| 59 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.BESTEST\"" |
| 60 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.BESTEST\"" |
| 61 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.BESTEST\"" |
| 62 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.{Initialization,LBNL_71T,TestConditionalConstructions}\"" |
| 63 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.{Initialization,LBNL_71T,TestConditionalConstructions}\"" |
| 64 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.Detailed.Validation.{Initialization,LBNL_71T,TestConditionalConstructions}\"" |
| 65 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.Detailed.FLEXLAB\"" |
| 66 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.Detailed.FLEXLAB\"" |
| 67 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.Detailed.FLEXLAB\"" |
| 68 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.ThermalZones.{ISO13790,ReducedOrder}\"" |
| 69 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.ThermalZones.{ISO13790,ReducedOrder}\"" |
| 70 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.ThermalZones.{ISO13790,ReducedOrder}\"" |
| 71 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Applications\"" |
| 72 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Applications\"" |
| 73 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Applications\"" |
| 74 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.DHC.{ETS,Loads,Networks,Plants}\"" |
| 75 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.DHC.{ETS,Loads,Networks,Plants}\" SINGLEPROC=\"true\"" |
| 76 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.DHC.{ETS,Loads,Networks,Plants}\"" |
| 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\"" |
| 80 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.{Actuators,BaseClasses,Boilers,Chillers,CHPs,Delays}\"" |
| 81 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.{Actuators,BaseClasses,Boilers,Chillers,CHPs,Delays}\"" |
| 82 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.{Actuators,BaseClasses,Boilers,Chillers,CHPs,Delays}\"" |
| 83 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.{Examples,FMI}\"" |
| 84 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.{Examples,FMI}\"" |
| 85 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.{Examples,FMI}\"" |
| 86 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.FixedResistances\"" |
| 87 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.FixedResistances\"" |
| 88 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.FixedResistances\"" |
| 89 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.{Geothermal,HeatExchangers,HeatPumps,Humidifiers,HydronicConfigurations,Interfaces}\"" |
| 90 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.{Geothermal,HeatExchangers,HeatPumps,Humidifiers,HydronicConfigurations,Interfaces}\"" |
| 91 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.{Geothermal,HeatExchangers,HeatPumps,Humidifiers,HydronicConfigurations,Interfaces}\"" |
| 92 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Fluid.{MassExchangers,MixingVolumes,Movers,Sensors,SolarCollectors,Sources,Storage,Utilities}\"" |
| 93 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Fluid.{MassExchangers,MixingVolumes,Movers,Sensors,SolarCollectors,Sources,Storage,Utilities}\"" |
| 94 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Fluid.{MassExchangers,MixingVolumes,Movers,Sensors,SolarCollectors,Sources,Storage,Utilities}\"" |
| 95 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Electrical\"" |
| 96 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Electrical\"" |
| 97 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Electrical\"" |
| 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}\"" |
| 101 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.HeatTransfer\"" |
| 102 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.HeatTransfer\"" |
| 103 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.HeatTransfer\"" |
| 104 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.{Obsolete,Occupants,Media}\"" |
| 105 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.{Obsolete,Occupants,Media}\"" |
| 106 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.{Obsolete,Occupants,Media}\"" |
| 107 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Utilities\"" |
| 108 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Utilities\"" |
| 109 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Utilities\"" |
| 110 | + - TEST_ARG="make test-dymola PACKAGE=\"Buildings.Templates\"" |
| 111 | + - TEST_ARG="make test-openmodelica PACKAGE=\"Buildings.Templates\"" |
| 112 | + - TEST_ARG="make test-optimica PACKAGE=\"Buildings.Templates\"" |
| 113 | + - TEST_ARG="make test-templates-dymola" |
111 | 114 |
|
112 | 115 | before_install: |
113 | 116 | - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin |
@@ -156,12 +159,11 @@ before_install: |
156 | 159 | install: |
157 | 160 | - git lfs pull |
158 | 161 | - pip3 install --upgrade pip wheel |
159 | | - - pip3 install --only-binary=numpy,scipy,matplotlib numpy==1.21.4 scipy==1.7.3 matplotlib==3.5.1 |
160 | 162 | - pip3 install git+https://github.com/lbl-srg/${BUILDINGSPY_VERSION} |
161 | 163 | - if [[ "$TEST_ARG" == *test-energyplus* ]] || [[ "$TEST_ARG" == *test-templates* ]]; then |
162 | 164 | export ENERGYPLUS_9_6_0=${ENERGYPLUS_9_6_0}; |
163 | 165 | export ENERGYPLUS_23_1_0=${ENERGYPLUS_23_1_0}; |
164 | | - pip3 install pandas==1.3.5; |
| 166 | + pip3 install pandas==2.3.2; |
165 | 167 | fi; |
166 | 168 | - if [[ "$TEST_ARG" == *EnergyPlus_24_2_0* ]] || [[ "$TEST_ARG" == *Buildings.{Obsolete* ]] || [[ "$TEST_ARG" == *Buildings.DHC.{ETS,Loads,Networks,Plants}* ]] || [[ "$TEST_ARG" == *spawn* ]]; then |
167 | 169 | echo "Installing Spawn binaries"; |
|
0 commit comments