Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.016/2.016, allocations: 429.5 MB / 0.6733 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8781 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.433e-05, allocations: 4.031 kB / 0.8781 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1211/0.1212, allocations: 131.3 MB / 1.006 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.006446/0.1276, allocations: 7.941 MB / 1.014 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.1277, allocations: 4 kB / 1.014 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.1278, allocations: 23.78 kB / 1.014 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.1279, allocations: 19.84 kB / 1.014 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.1308, allocations: 1.479 MB / 1.016 GB, free: 9.113 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1309, allocations: 79.58 kB / 1.016 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.1309, allocations: 4 kB / 1.016 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.131, allocations: 51.88 kB / 1.016 GB, free: 8.98 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.1311, allocations: 27.95 kB / 1.016 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1311, allocations: 4 kB / 1.016 GB, free: 8.949 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.1339, allocations: 2.621 MB / 1.018 GB, free: 6.324 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.1339, allocations: 15.92 kB / 1.018 GB, free: 6.309 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.134, allocations: 27.91 kB / 1.018 GB, free: 6.281 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.1358, allocations: 1.801 MB / 1.02 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1358, allocations: 0 / 1.02 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1358, allocations: 0 / 1.02 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1358, allocations: 0 / 1.02 GB, free: 4.477 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008314/0.1366, allocations: 0.5187 MB / 1.021 GB, free: 3.922 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1366, allocations: 8.031 kB / 1.021 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.1369, allocations: 52.67 kB / 1.021 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.444e-05/0.137, allocations: 120.5 kB / 1.021 GB, free: 3.719 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.137, allocations: 55.97 kB / 1.021 GB, free: 3.652 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.137, allocations: 8.375 kB / 1.021 GB, free: 3.645 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1373, allocations: 144.3 kB / 1.021 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1373, allocations: 0 / 1.021 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1373, allocations: 4 kB / 1.021 GB, free: 3.484 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1373, allocations: 7.984 kB / 1.021 GB, free: 3.477 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1375, allocations: 87.91 kB / 1.021 GB, free: 3.391 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.1378, allocations: 319.6 kB / 1.021 GB, free: 3.043 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.138, allocations: 123 kB / 1.022 GB, free: 2.91 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.138, allocations: 43.66 kB / 1.022 GB, free: 2.863 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005418/0.1435, allocations: 3.055 MB / 1.025 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1435, allocations: 41.33 kB / 1.025 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.1435, allocations: 0 / 1.025 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0003335/0.1438, allocations: 157.5 kB / 1.025 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.1439, allocations: 55.41 kB / 1.025 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.1439, allocations: 161.9 kB / 1.025 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1439, allocations: 25.7 kB / 1.025 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.144, allocations: 130.9 kB / 1.025 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.144, allocations: 43.58 kB / 1.025 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.144, allocations: 39.36 kB / 1.025 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1442, allocations: 496.1 kB / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.1442, allocations: 15.98 kB / 1.026 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.1442, allocations: 27.98 kB / 1.026 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.169e-05/0.1443, allocations: 67.17 kB / 1.026 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1443, allocations: 4 kB / 1.026 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001187/0.1444, allocations: 105.6 kB / 1.026 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1444, allocations: 4 kB / 1.026 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1444, allocations: 0 / 1.026 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1444, allocations: 0 / 1.026 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.1445, allocations: 27.92 kB / 1.026 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1445, allocations: 0 / 1.026 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.1446, allocations: 11.89 kB / 1.026 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1446, allocations: 7.984 kB / 1.026 GB, free: 14.33 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/0.1446, allocations: 164.5 kB / 1.026 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1447, allocations: 8.188 kB / 1.026 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.1449, allocations: 284.1 kB / 1.026 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1449, allocations: 11.92 kB / 1.026 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1449, allocations: 0 / 1.026 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1449, allocations: 3.938 kB / 1.026 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1451, allocations: 200.4 kB / 1.027 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1451, allocations: 0 / 1.027 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.1451, allocations: 19.98 kB / 1.027 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1451, allocations: 0 / 1.027 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1452, allocations: 8 kB / 1.027 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1452, allocations: 0 / 1.027 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1452, allocations: 4 kB / 1.027 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1454, allocations: 339.4 kB / 1.027 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.1454, allocations: 31.75 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1454, allocations: 4 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.1455, allocations: 4 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.1455, allocations: 15.97 kB / 1.027 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1455, allocations: 4 kB / 1.027 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.1455, allocations: 123.2 kB / 1.027 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1455, allocations: 0 / 1.027 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005226/0.1461, allocations: 303.7 kB / 1.027 GB, free: 12.76 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009282/0.147, allocations: 449.5 kB / 1.028 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.1472, allocations: 95.53 kB / 1.028 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1472, allocations: 4 kB / 1.028 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.1472, allocations: 83.47 kB / 1.028 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.1475, allocations: 27.91 kB / 1.028 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.1481, allocations: 290.3 kB / 1.028 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.905e-05/0.1481, allocations: 79.84 kB / 1.028 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 8.718e-05/0.1482, allocations: 32.34 kB / 1.028 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.1482, allocations: 16.5 kB / 1.028 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of SimCode: time 6.52e-07/0.1482, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of Templates: time 0.01249/0.1607, allocations: 11.74 MB / 1.04 GB, free: 15.93 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.047804324887693]