Skip to content

Commit

Permalink
Merge pull request open-ideas#1319 from JavierArroyoBastida/issue1316_ci
Browse files Browse the repository at this point in the history
Issue1316 CI
  • Loading branch information
javiarrobas authored May 15, 2023
2 parents 2488d28 + a9a8997 commit a75d2b0
Show file tree
Hide file tree
Showing 102 changed files with 807 additions and 414 deletions.
85 changes: 85 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: CI of IDEAS using GitHub Actions
on: [push, pull_request]
jobs:
build:
runs-on: self-hosted
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server called tony-de-rekenpony hosted by The Sysis team at KU Leuven"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
with:
clean: true
- name: Change permissions of repository folder
run: chmod -R 777 /home/actions-runner/_work
- name: List of files in the repository
run: |
ls ${{ github.workspace }}
test:
runs-on: self-hosted
needs: build
defaults:
run:
working-directory: IDEAS/Resources/Scripts/tests
steps:
- name: Test IDEAS.Buildings.Components
run: make test-dymola PACKAGE=\"IDEAS.Buildings.Components\" INTERACTIVE=false
- name: Test IDEAS.Buildings.Examples
run: make test-dymola PACKAGE=\"IDEAS.Buildings.Examples\" INTERACTIVE=false
- name: Test IDEAS.Buildings.Validation
run: make test-dymola PACKAGE=\"IDEAS.Buildings.Validation\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Actuators
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Actuators\" INTERACTIVE=false
- name: Test IDEAS.Fluid.BaseClasses
run: make test-dymola PACKAGE=\"IDEAS.Fluid.BaseClasses\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Chillers
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Chillers\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Delays
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Delays\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Examples
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Examples\" INTERACTIVE=false
- name: Test IDEAS.Fluid.FixedResistances
run: make test-dymola PACKAGE=\"IDEAS.Fluid.FixedResistances\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Geothermal
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Geothermal\" INTERACTIVE=false
- name: Test IDEAS.Fluid.HeatExchangers
run: make test-dymola PACKAGE=\"IDEAS.Fluid.HeatExchangers\" INTERACTIVE=false
- name: Test IDEAS.Fluid.HeatPumps
run: make test-dymola PACKAGE=\"IDEAS.Fluid.HeatPumps\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Interfaces
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Interfaces\" INTERACTIVE=false
- name: Test IDEAS.Fluid.MassExchangers
run: make test-dymola PACKAGE=\"IDEAS.Fluid.MassExchangers\" INTERACTIVE=false
- name: Test IDEAS.Fluid.MixingVolumes
run: make test-dymola PACKAGE=\"IDEAS.Fluid.MixingVolumes\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Movers
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Movers\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Sensors
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Sensors\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Sources
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Sources\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Storage
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Storage\" INTERACTIVE=false
- name: Test IDEAS.Fluid.Taps
run: make test-dymola PACKAGE=\"IDEAS.Fluid.Taps\" INTERACTIVE=false
- name: Test IDEAS.ThermalZones
run: make test-dymola PACKAGE=\"IDEAS.ThermalZones\" INTERACTIVE=false
- name: Test IDEAS.BoundaryConditions
run: make test-dymola PACKAGE=\"IDEAS.BoundaryConditions\" INTERACTIVE=false
- name: Test IDEAS.Controls
run: make test-dymola PACKAGE=\"IDEAS.Controls\" INTERACTIVE=false
- name: Test IDEAS.Media
run: make test-dymola PACKAGE=\"IDEAS.Media\" INTERACTIVE=false
- name: Test IDEAS.Utilities
run: make test-dymola PACKAGE=\"IDEAS.Utilities\" INTERACTIVE=false
- name: Test IDEAS.Templates
run: make test-dymola PACKAGE=\"IDEAS.Templates\" INTERACTIVE=false
- name: Test IDEAS.Examples.PPD12
run: make test-dymola PACKAGE=\"IDEAS.Examples.PPD12\" INTERACTIVE=false
- name: Test IDEAS.Examples.IBPSA
run: make test-dymola PACKAGE=\"IDEAS.Examples.IBPSA\" INTERACTIVE=false
- name: Test IDEAS.Examples.Tutorial
run: make test-dymola PACKAGE=\"IDEAS.Examples.Tutorial\" INTERACTIVE=false
- name: Test IDEAS.Examples.TwinHouses
run: make test-dymola PACKAGE=\"IDEAS.Examples.TwinHouses\" INTERACTIVE=false

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
last-generated=2022-04-11
last-generated=2023-05-02
statistics-initialization=
{
"nonlinear": "1, 1, 1, 1",
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
last-generated=2020-08-17
last-generated=2023-05-02
statistics-simulation=
{
"linear": " ",
Expand All @@ -15,4 +15,4 @@ oriBot.m_flow=[6.083666905760765e-02, -2.837208658456802e-02, -2.837188541889191
oriChiBot.m_flow=[-4.225156083703041e-02, 2.162793651223183e-02, 2.162814326584339e-02, 2.162829786539078e-02, 2.162843383848667e-02, 2.162854000926018e-02, 2.162862569093704e-02, 2.162869460880756e-02, 2.162875235080719e-02, 2.162879705429077e-02, 2.162883244454861e-02, 2.162886224687099e-02, 2.162888459861279e-02, 2.162890322506428e-02, 2.162891812622547e-02, 2.162893116474152e-02, 2.162893861532211e-02, 6.600899156183004e-03, 6.600845605134964e-03, 6.60075806081295e-03, 6.600675638765097e-03, 6.600600201636553e-03, 6.600528955459595e-03, 6.600461434572935e-03, 6.600397173315287e-03, 6.600335240364075e-03, 6.600277498364449e-03, 6.600223481655121e-03, 6.600172724574804e-03, 6.600124295800924e-03, 6.600077729672194e-03, 6.600034423172474e-03, 6.599993910640478e-03, 6.599956192076206e-03, 6.599921267479658e-03, 6.599888671189547e-03, 6.59985700622201e-03, 6.599827203899622e-03, 6.599800195544958e-03, 6.599775049835443e-03, 6.599752232432365e-03, 6.599730812013149e-03, 6.59970985725522e-03, 6.599689833819866e-03, 6.599671207368374e-03, 6.599653977900743e-03, 6.599638611078262e-03, 6.599624175578356e-03, 6.599610205739737e-03, 6.599596701562405e-03, 6.599584594368935e-03, -2.009362541139126e-02, -2.036353200674057e-02, -2.058996632695198e-02, -2.077858708798885e-02, -2.093481458723545e-02, -2.106338739395142e-02, -2.116917632520199e-02, -2.125576511025429e-02, -2.132569253444672e-02, -2.13827770203352e-02, -2.143039554357529e-02, -2.146797813475132e-02, -2.149653248488903e-02, -2.152291312813759e-02, -2.154571376740932e-02, -2.155768871307373e-02, -6.387639325112104e-03, -6.401768885552883e-03, -6.414162926375866e-03, -6.425806786864996e-03, -6.436778698116541e-03, -6.447076331824064e-03, -6.456705741584301e-03, -6.465685088187456e-03, -6.474083755165339e-03, -6.481906399130821e-03, -6.489204242825508e-03, -6.496257148683071e-03, -6.50292169302702e-03, -6.509031169116497e-03, -6.514749024063349e-03, -6.520108319818974e-03, -6.525137461721897e-03, -6.529857870191336e-03, -6.534272339195013e-03, -6.538400426506996e-03, -6.54226541519165e-03, -6.545895244926214e-03, -6.549304816871881e-03, -6.552497856318951e-03, -6.555485539138317e-03, -6.558279506862164e-03, -6.560900714248419e-03, -6.563357543200254e-03, -6.565659306943417e-03, -6.567808333784342e-03, -6.569812539964914e-03, -6.57168822363019e-03, -6.573454476892948e-03, -6.575121078640223e-03]
con.u_s=[2.931499938964844e+02, 2.931499938964844e+02]
con.u_m=[2.931499938964844e+02, 2.931500244140625e+02, 2.931500549316406e+02, 2.931500244140625e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931499938964844e+02, 2.931413269042969e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931410827636719e+02, 2.931054992675781e+02, 2.931015625e+02, 2.930982360839844e+02, 2.930954284667969e+02, 2.930930786132812e+02, 2.930911560058594e+02, 2.930895690917969e+02, 2.930882568359375e+02, 2.930871887207031e+02, 2.930863037109375e+02, 2.930856018066406e+02, 2.930850219726562e+02, 2.930845642089844e+02, 2.930841674804688e+02, 2.930838623046875e+02, 2.930836181640625e+02, 2.931361083984375e+02, 2.931415710449219e+02, 2.931415405273438e+02, 2.931415100097656e+02, 2.931415100097656e+02, 2.931414794921875e+02, 2.931414489746094e+02, 2.931414184570312e+02, 2.931413879394531e+02, 2.931413879394531e+02, 2.93141357421875e+02, 2.93141357421875e+02, 2.931413269042969e+02, 2.931413269042969e+02, 2.931412963867188e+02, 2.931412963867188e+02, 2.931412658691406e+02, 2.931412658691406e+02, 2.931412353515625e+02, 2.931412353515625e+02, 2.931412353515625e+02, 2.931412048339844e+02, 2.931412048339844e+02, 2.931412048339844e+02, 2.931412048339844e+02, 2.931411743164062e+02, 2.931411743164062e+02, 2.931411743164062e+02, 2.931411743164062e+02, 2.931411743164062e+02, 2.931411437988281e+02, 2.931411437988281e+02, 2.931411437988281e+02, 2.931411437988281e+02]
con.y=[0e+00, -9.502676402917132e-05, -2.026577858487144e-04, -6.358508107950911e-05, 2.487269193807151e-05, 5.152248195372522e-05, 2.78376646747347e-05, 1.583688913342477e-06, -1.508149694018357e-06, -1.155283939624496e-06, 2.124872366948694e-07, 4.561670152725128e-07, 3.827108230325393e-07, 3.386341518307745e-07, 1.443854102944899e-07, 2.976139512611553e-07, 4.177746859568288e-07, 4.332458972930908e-02, 4.46309894323349e-02, 4.462577775120735e-02, 4.462458193302155e-02, 4.462399706244469e-02, 4.462346807122231e-02, 4.46229949593544e-02, 4.462255910038948e-02, 4.462216049432755e-02, 4.462176561355591e-02, 4.462139680981636e-02, 4.462104663252831e-02, 4.462071880698204e-02, 4.462040588259697e-02, 4.462011158466339e-02, 4.46198359131813e-02, 4.461958259344101e-02, 4.461934790015221e-02, 4.46191243827343e-02, 4.461890831589699e-02, 4.461870715022087e-02, 4.461852088570595e-02, 4.461834579706192e-02, 4.461818933486938e-02, 4.461804032325745e-02, 4.461789503693581e-02, 4.461776092648506e-02, 4.461763799190521e-02, 4.461752623319626e-02, 4.46174219250679e-02, 4.461732879281044e-02, 4.461723193526268e-02, 4.461714252829552e-02, 4.461706057190895e-02, 2.224607467651367e-01, 2.421569526195526e-01, 2.588749527931213e-01, 2.728891968727112e-01, 2.845434248447419e-01, 2.94207900762558e-01, 3.021814525127411e-01, 3.087268173694611e-01, 3.140699565410614e-01, 3.18424791097641e-01, 3.219962418079376e-01, 3.248842358589172e-01, 3.27178955078125e-01, 3.29094409942627e-01, 3.3070108294487e-01, 3.318540751934052e-01, 6.943316012620926e-02, 4.213312268257141e-02, 4.225286841392517e-02, 4.239489510655403e-02, 4.250683635473251e-02, 4.262795671820641e-02, 4.275635629892349e-02, 4.287643358111382e-02, 4.298604279756546e-02, 4.308740422129631e-02, 4.318270087242126e-02, 4.32722419500351e-02, 4.335631057620049e-02, 4.343514516949654e-02, 4.350941628217697e-02, 4.357891529798508e-02, 4.364414513111115e-02, 4.370537027716637e-02, 4.376274347305298e-02, 4.381651431322098e-02, 4.386692494153976e-02, 4.391422495245934e-02, 4.395860806107521e-02, 4.400022700428963e-02, 4.403925314545631e-02, 4.407584294676781e-02, 4.411012679338455e-02, 4.41422201693058e-02, 4.41722571849823e-02, 4.420040175318718e-02, 4.42267544567585e-02, 4.425143823027611e-02, 4.427458718419075e-02, 4.429631307721138e-02]
con.y=[0e+00, -9.502679313300177e-05, -2.026567817665637e-04, -6.358457903843373e-05, 2.487322853994556e-05, 5.152485391590744e-05, 2.783919444482308e-05, 1.584165261192531e-06, -1.508063292021689e-06, -1.155486302195641e-06, 2.124119191648788e-07, 4.561721311802103e-07, 3.826951910923526e-07, 3.386512048564327e-07, 1.443726205252462e-07, 2.975824031636876e-07, 4.177377377345692e-07, 4.332458972930908e-02, 4.46309894323349e-02, 4.462577775120735e-02, 4.462458193302155e-02, 4.462399706244469e-02, 4.462346807122231e-02, 4.46229949593544e-02, 4.462255910038948e-02, 4.462216049432755e-02, 4.462176561355591e-02, 4.462139680981636e-02, 4.462104663252831e-02, 4.462071880698204e-02, 4.462040588259697e-02, 4.462011158466339e-02, 4.46198359131813e-02, 4.461958259344101e-02, 4.461934790015221e-02, 4.46191243827343e-02, 4.461890831589699e-02, 4.461870715022087e-02, 4.461852088570595e-02, 4.461834579706192e-02, 4.461818933486938e-02, 4.461804032325745e-02, 4.461789503693581e-02, 4.461776092648506e-02, 4.461763799190521e-02, 4.461752623319626e-02, 4.46174219250679e-02, 4.461732879281044e-02, 4.461723193526268e-02, 4.461714252829552e-02, 4.461706057190895e-02, 2.224607467651367e-01, 2.421569526195526e-01, 2.588749527931213e-01, 2.728891968727112e-01, 2.845434248447419e-01, 2.94207900762558e-01, 3.021814525127411e-01, 3.087268173694611e-01, 3.140699565410614e-01, 3.18424791097641e-01, 3.219962418079376e-01, 3.248842358589172e-01, 3.27178955078125e-01, 3.29094409942627e-01, 3.3070108294487e-01, 3.318540751934052e-01, 6.943316012620926e-02, 4.213312268257141e-02, 4.225286841392517e-02, 4.239489510655403e-02, 4.250683635473251e-02, 4.262795671820641e-02, 4.275635629892349e-02, 4.287643358111382e-02, 4.298604279756546e-02, 4.308740422129631e-02, 4.318270087242126e-02, 4.32722419500351e-02, 4.335631057620049e-02, 4.343514516949654e-02, 4.350941628217697e-02, 4.357891529798508e-02, 4.364414513111115e-02, 4.370537027716637e-02, 4.376274347305298e-02, 4.381651431322098e-02, 4.386692494153976e-02, 4.391422495245934e-02, 4.395860806107521e-02, 4.400022700428963e-02, 4.403925314545631e-02, 4.407584294676781e-02, 4.411012679338455e-02, 4.41422201693058e-02, 4.41722571849823e-02, 4.420040175318718e-02, 4.42267544567585e-02, 4.425143823027611e-02, 4.427458718419075e-02, 4.429631307721138e-02]
Loading

0 comments on commit a75d2b0

Please sign in to comment.