Skip to content

Commit 6045695

Browse files
committed
Merge develop, resolve conflict
2 parents 8a9483a + 4a17be9 commit 6045695

File tree

989 files changed

+127621
-2170
lines changed

Some content is hidden

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

989 files changed

+127621
-2170
lines changed

.decent_ci-Linux.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
compilers:
22
- name: "gcc"
33
version: "11.4"
4-
cmake_extra_flags: -DLINK_WITH_PYTHON:BOOL=ON -DPython_REQUIRED_VERSION:STRING=3.12.2 -DPython_ROOT_DIR:PATH=~/.pyenv/versions/3.12.2/ -DBUILD_FORTRAN:BOOL=ON -DBUILD_TESTING:BOOL=ON -DENABLE_GTEST_DEBUG_MODE:BOOL=OFF -DBUILD_PERFORMANCE_TESTS:BOOL=ON -DVALGRIND_ANALYZE_PERFORMANCE_TESTS:BOOL=ON -DENABLE_PCH:BOOL=OFF
4+
cmake_extra_flags: -DLINK_WITH_PYTHON:BOOL=ON -DPYTHON_CLI:BOOL=OFF -DPython_REQUIRED_VERSION:STRING=3.12.2 -DPython_ROOT_DIR:PATH=~/.pyenv/versions/3.12.2/ -DBUILD_FORTRAN:BOOL=ON -DBUILD_TESTING:BOOL=ON -DENABLE_GTEST_DEBUG_MODE:BOOL=OFF -DBUILD_PERFORMANCE_TESTS:BOOL=ON -DVALGRIND_ANALYZE_PERFORMANCE_TESTS:BOOL=ON -DENABLE_PCH:BOOL=OFF
55
collect_performance_results: true
66
skip_regression: true
77
s3_upload_bucket: energyplus
88

99
- name: "gcc"
1010
version: "11.4"
1111
build_type: RelWithDebInfo
12-
cmake_extra_flags: -DLINK_WITH_PYTHON:BOOL=ON -DPython_REQUIRED_VERSION:STRING=3.12.2 -DPython_ROOT_DIR:PATH=~/.pyenv/versions/3.12.2/ -DBUILD_FORTRAN:BOOL=ON -DBUILD_TESTING:BOOL=ON -DENABLE_REGRESSION_TESTING:BOOL=OFF -DCOMMIT_SHA:STRING=$COMMIT_SHA -DENABLE_COVERAGE:BOOL=ON -DENABLE_GTEST_DEBUG_MODE:BOOL=OFF -DENABLE_PCH:BOOL=OFF
12+
cmake_extra_flags: -DLINK_WITH_PYTHON:BOOL=ON -DPYTHON_CLI:BOOL=OFF -DPython_REQUIRED_VERSION:STRING=3.12.2 -DPython_ROOT_DIR:PATH=~/.pyenv/versions/3.12.2/ -DBUILD_FORTRAN:BOOL=ON -DBUILD_TESTING:BOOL=ON -DENABLE_REGRESSION_TESTING:BOOL=OFF -DCOMMIT_SHA:STRING=$COMMIT_SHA -DENABLE_COVERAGE:BOOL=ON -DENABLE_GTEST_DEBUG_MODE:BOOL=OFF -DENABLE_PCH:BOOL=OFF
1313
coverage_enabled: true
1414
coverage_base_dir: src/EnergyPlus
1515
coverage_pass_limit: 41.0
@@ -23,7 +23,7 @@ compilers:
2323
- name: "gcc"
2424
version: "11.4"
2525
build_type: RelWithDebInfo
26-
cmake_extra_flags: -DLINK_WITH_PYTHON:BOOL=ON -DPython_REQUIRED_VERSION:STRING=3.12.2 -DPython_ROOT_DIR:PATH=~/.pyenv/versions/3.12.2/ -DBUILD_FORTRAN:BOOL=ON -DBUILD_TESTING:BOOL=ON -DENABLE_REGRESSION_TESTING:BOOL=OFF -DCOMMIT_SHA:STRING=$COMMIT_SHA -DENABLE_COVERAGE:BOOL=ON -DENABLE_GTEST_DEBUG_MODE:BOOL=OFF -DENABLE_PCH:BOOL=OFF
26+
cmake_extra_flags: -DLINK_WITH_PYTHON:BOOL=ON -DPYTHON_CLI:BOOL=OFF -DPython_REQUIRED_VERSION:STRING=3.12.2 -DPython_ROOT_DIR:PATH=~/.pyenv/versions/3.12.2/ -DBUILD_FORTRAN:BOOL=ON -DBUILD_TESTING:BOOL=ON -DENABLE_REGRESSION_TESTING:BOOL=OFF -DCOMMIT_SHA:STRING=$COMMIT_SHA -DENABLE_COVERAGE:BOOL=ON -DENABLE_GTEST_DEBUG_MODE:BOOL=OFF -DENABLE_PCH:BOOL=OFF
2727
coverage_enabled: true
2828
coverage_base_dir: src/EnergyPlus
2929
coverage_pass_limit: 66.0

.decent_ci-Windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ compilers:
22
- name: Visual Studio
33
version: 16
44
architecture: Win64
5-
cmake_extra_flags: -DBUILD_FORTRAN:BOOL=ON -DBUILD_TESTING:BOOL=ON -DCOMMIT_SHA=%COMMIT_SHA% -DENABLE_GTEST_DEBUG_MODE:BOOL=OFF -DLINK_WITH_PYTHON=ON -DPython_EXECUTABLE:PATH=C:/Users/elee/AppData/Local/Programs/Python/Python312/python.exe
5+
cmake_extra_flags: -DBUILD_FORTRAN:BOOL=ON -DBUILD_TESTING:BOOL=ON -DCOMMIT_SHA=%COMMIT_SHA% -DENABLE_GTEST_DEBUG_MODE:BOOL=OFF -DLINK_WITH_PYTHON=ON -DPYTHON_CLI:BOOL=OFF -DPython_EXECUTABLE:PATH=C:/Users/elee/AppData/Local/Programs/Python/Python312/python.exe
66
skip_regression: true

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
path: ./dist
4848

4949
- name: Deploy on Test PyPi
50-
uses: pypa/gh-action-pypi-publish@v1.10.1
50+
uses: pypa/gh-action-pypi-publish@v1.10.3
5151
with:
5252
repository-url: https://test.pypi.org/legacy/
5353
user: __token__

.github/workflows/release_linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ jobs:
7070
shell: bash
7171
run: |
7272
cmake -DCMAKE_BUILD_TYPE:STRING=$BUILD_TYPE \
73-
-DLINK_WITH_PYTHON:BOOL=ON -DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }} \
73+
-DLINK_WITH_PYTHON:BOOL=ON -DPYTHON_CLI:BOOL=ON \
74+
-DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }} \
7475
-DPython_ROOT_DIR:PATH=$RUNNER_TOOL_CACHE/Python/${{ steps.setup-python.outputs.python-version }}/x64/ \
7576
-DBUILD_FORTRAN:BOOL=ON -DBUILD_PACKAGE:BOOL=ON \
7677
-DDOCUMENTATION_BUILD:STRING="BuildWithAll" -DTEX_INTERACTION:STRING="batchmode" -DENABLE_PCH:BOOL=OFF \

.github/workflows/release_mac.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ jobs:
150150
run: |
151151
cmake -G Ninja -DCMAKE_BUILD_TYPE:STRING=$BUILD_TYPE \
152152
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${{ matrix.macos_dev_target }} \
153-
-DLINK_WITH_PYTHON:BOOL=ON -DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }} \
153+
-DLINK_WITH_PYTHON:BOOL=ON -DPYTHON_CLI:BOOL=ON \
154+
-DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }} \
154155
-DPython_ROOT_DIR:PATH=$RUNNER_TOOL_CACHE/Python/${{ steps.setup-python.outputs.python-version }}/${{ matrix.python-arch }}/ \
155156
-DBUILD_FORTRAN:BOOL=ON -DBUILD_PACKAGE:BOOL=ON \
156157
-DDOCUMENTATION_BUILD:STRING=$DOCUMENTATION_BUILD -DTEX_INTERACTION:STRING="batchmode" \

.github/workflows/release_windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ jobs:
134134
run: |
135135
set -x
136136
cmake -G "Visual Studio 16 2019" -A ${{ matrix.vs-generator }} \
137-
-DLINK_WITH_PYTHON:BOOL=ON -DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }} \
137+
-DLINK_WITH_PYTHON:BOOL=ON -DPYTHON_CLI:BOOL=ON \
138+
-DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }} \
138139
-DPython_ROOT_DIR:PATH=$RUNNER_TOOL_CACHE/Python/${{ steps.setup-python.outputs.python-version }}/${{ matrix.arch }}/ \
139140
-DBUILD_FORTRAN:BOOL=ON -DBUILD_PACKAGE:BOOL=ON \
140141
-DENABLE_HARDENED_RUNTIME:BOOL=${{ matrix.enable_hardened_runtime }} \

.github/workflows/test_code_integrity.yml

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
code_integrity_checks:
1111
name: Static Code Analysis
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- uses: actions/checkout@v4
1515

@@ -33,44 +33,14 @@ jobs:
3333

3434
- name: Install cppcheck
3535
if: always()
36-
run: |
37-
mkdir cppcheck
38-
cd cppcheck
39-
wget https://github.com/danmar/cppcheck/archive/2.10.tar.gz
40-
tar xfz 2.10.tar.gz
41-
mkdir build
42-
cd build
43-
cmake -DCMAKE_BUILD_TYPE=Release ../cppcheck-2.10/
44-
make -j $(nproc)
45-
sudo make install
46-
cd ..
47-
rm -Rf cppcheck
48-
49-
- name: Cache cppcheck-build-directory
50-
if: always()
51-
id: cppcheckcache
52-
uses: actions/cache@v4
53-
with:
54-
path: .cppcheck-build-dir/
55-
key: cppcheckcache
56-
57-
- name: cppcheck-build-directory not found
58-
# If the build cache wasn't found in the cache
59-
if: always() && steps.cppcheckcache.outputs.cache-hit != 'true'
60-
run: mkdir .cppcheck-build-dir
61-
62-
- name: cppcheck-build-directory was found
63-
# If the build cache wasn't found in the cache
64-
if: always() && steps.cppcheckcache.outputs.cache-hit == 'true'
65-
run: ls .cppcheck-build-dir/ || true
36+
run: sudo apt-get install cppcheck
6637

6738
- name: Run CppCheck
6839
id: cpp_check_run
6940
if: always()
7041
# TODO: Evaluate the long list of flags here
7142
run: >
7243
cppcheck
73-
--cppcheck-build-dir=.cppcheck-build-dir
7444
-D__cppcheck__ -UEP_Count_Calls -DEP_NO_OPENGL -UGROUND_PLOT -DLINK_WITH_PYTHON -DMSVC_DEBUG -DSKYLINE_MATRIX_REMOVE_ZERO_COLUMNS -U_OPENMP -Ugeneratetestdata
7545
-DEP_cache_GlycolSpecificHeat -DEP_cache_PsyTsatFnPb -UEP_nocache_Psychrometrics -UEP_psych_errors -UEP_psych_stats
7646
--force

.github/workflows/test_develop_commits.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106
-DCMAKE_BUILD_TYPE:STRING=Release
107107
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${{ matrix.macos_dev_target }}
108108
-DLINK_WITH_PYTHON:BOOL=ON
109+
-DPYTHON_CLI:BOOL=ON
109110
-DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }}
110111
-DPython_ROOT_DIR:PATH=$RUNNER_TOOL_CACHE/Python/${{ steps.setup-python.outputs.python-version }}/${{ matrix.python-arch }}/
111112
-DBUILD_TESTING:BOOL=ON

.github/workflows/test_pull_requests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
-DCMAKE_BUILD_TYPE:STRING=Release
9696
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${{ matrix.macos_dev_target }}
9797
-DLINK_WITH_PYTHON:BOOL=ON
98+
-DPYTHON_CLI:BOOL=ON
9899
-DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }}
99100
-DPython_ROOT_DIR:PATH=$RUNNER_TOOL_CACHE/Python/${{ steps.setup-python.outputs.python-version }}/${{ matrix.python-arch }}/
100101
-DBUILD_TESTING:BOOL=ON
@@ -140,6 +141,7 @@ jobs:
140141
-DCMAKE_BUILD_TYPE:STRING=Release
141142
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=${{ matrix.macos_dev_target }}
142143
-DLINK_WITH_PYTHON:BOOL=ON
144+
-DPYTHON_CLI:BOOL=ON
143145
-DPython_REQUIRED_VERSION:STRING=${{ steps.setup-python.outputs.python-version }}
144146
-DPython_ROOT_DIR:PATH=$RUNNER_TOOL_CACHE/Python/${{ steps.setup-python.outputs.python-version }}/${{ matrix.python-arch }}/
145147
-DBUILD_TESTING:BOOL=ON
@@ -189,8 +191,14 @@ jobs:
189191
${{ steps.upload_regressions.outputs.artifact-url }}
190192
191193
- uses: actions/github-script@v7
192-
if: always() && matrix.run_regressions && steps.regressions.outcome == 'failure'
194+
if: always() && matrix.run_regressions && steps.regressions.outcome == 'failure' && github.event.pull_request.head.repo.full_name == 'NREL/EnergyPlus'
193195
with:
194196
script: |
195197
const script = require('${{ github.workspace }}/regressions/summary.js')
196198
console.log(script({github, context}))
199+
200+
- name: Fail on Regressions from Forked Repository
201+
if: always() && matrix.run_regressions && steps.regressions.outcome == 'failure' && github.event.pull_request.head.repo.full_name != 'NREL/EnergyPlus'
202+
run: |
203+
echo "::error::Regressions detected in pull request from forked repository, check job summary for details and to download regression results"
204+
exit 1

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ endif()
184184
# If LINK_WITH_PYTHON, also request the Development (libs) at the same time, to ensure consistent version between interpreter and Development
185185
# and ask for at least 3.8 (for the PyConfig stuff).
186186
if(LINK_WITH_PYTHON)
187+
option(PYTHON_CLI "Build the Auxiliary CLI to Call Python Utilities" OFF)
187188
# find_package(Python) has the problem that on github actions in particular it'll pick up the most recent python (eg 3.9) from the tool cache
188189
# even if you have used the setup-python action and set it to 3.8, so we make the exact version required
189190
set(Python_REQUIRED_VERSION "" CACHE STRING "The specific Python version you want to link to (Optional)")

cmake/Version.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
set(CMAKE_VERSION_MAJOR 24)
2-
set(CMAKE_VERSION_MINOR 2)
1+
set(CMAKE_VERSION_MAJOR 25)
2+
set(CMAKE_VERSION_MINOR 1)
33
set(CMAKE_VERSION_PATCH 0)
44

5-
set(CMAKE_PROJECTED_RELEASE_DATE "30 September 2024")
5+
set(CMAKE_PROJECTED_RELEASE_DATE "31 March 2025")
66

77
set(PREV_RELEASE_MAJOR 24)
8-
set(PREV_RELEASE_MINOR 1)
8+
set(PREV_RELEASE_MINOR 2)
99
set(PREV_RELEASE_PATCH 0)
10-
set(PREV_RELEASE_SHA "9d7789a")
10+
set(PREV_RELEASE_SHA "94a8878")
1111

1212
set(ENERGYPLUS_VERSION "${CMAKE_VERSION_MAJOR}.${CMAKE_VERSION_MINOR}.${CMAKE_VERSION_PATCH}")
1313

doc/ems-application-guide/src/ems-actuators/hvac-systems-001.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ \subsection{Pump}\label{pump}
180180
\end{equation}
181181

182182
where $P$ is the pump power (\si{\watt}), $\dot{Q}$ is the volume flow rate (\si{\volumeFlowRate}), $\eta_{total}$ is the pump total efficiency (\%)
183-
and $\Delta P_{override}$ is your EMS-overriden pressure rise (\si{\pascal}).
183+
and $\Delta P_{override}$ is your EMS-overridden pressure rise (\si{\pascal}).
184184

185185
The unique identifier in both these actuator is the name of Pump Input object.
186186

doc/engineering-reference/src/advanced-surface-concepts/exterior-naturally-vented-cavity.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,6 @@ \subsection{Radiation Coefficients}\label{radiation-coefficients}
237237

238238
\subsection{References}\label{references-023}
239239

240-
ASHRAE HOF 2001.~ 2001 ASHRAE Fundamentals Handbook.~ American Society of Heating Refrigeration and Air-Conditioning Engineers. Altanta GA.
240+
ASHRAE HOF 2001.~ 2001 ASHRAE Fundamentals Handbook.~ American Society of Heating Refrigeration and Air-Conditioning Engineers. Atlanta GA.
241241

242242
ISO. 2003. ISO 15099:2003. Thermal performance of windows, doors, and shading devices -- Detailed calculations. International Organization for Standardization.

0 commit comments

Comments
 (0)