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.001331/0.001331, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001383/0.001383, allocations: 181 kB / 23.36 MB, free: 1.133 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.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.505/2.505, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.312e-06/1.312e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.671e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1259/0.1259, allocations: 130.8 MB / 0.9663 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.006815/0.1327, allocations: 7.943 MB / 0.9741 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.1327, allocations: 0 / 0.9741 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1329, allocations: 23.78 kB / 0.9741 GB, free: 2.832 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.1329, allocations: 23.83 kB / 0.9741 GB, free: 2.809 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.1354, allocations: 1.315 MB / 0.9754 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.1355, allocations: 79.64 kB / 0.9755 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.1356, allocations: 0 / 0.9755 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1357, allocations: 63.75 kB / 0.9756 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.1357, allocations: 27.95 kB / 0.9756 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1358, allocations: 8 kB / 0.9756 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.1391, allocations: 2.782 MB / 0.9783 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.1392, allocations: 11.94 kB / 0.9783 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.1392, allocations: 27.91 kB / 0.9783 GB, free: 14.49 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.1411, allocations: 1.801 MB / 0.9801 GB, free: 12.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1411, allocations: 0 / 0.9801 GB, free: 12.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1411, allocations: 0 / 0.9801 GB, free: 12.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.1411, allocations: 0 / 0.9801 GB, free: 12.68 MB / 0.948 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.0007171/0.1418, allocations: 399.5 kB / 0.9805 GB, free: 12.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1418, allocations: 8.625 kB / 0.9805 GB, free: 12.26 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.1421, allocations: 64.59 kB / 0.9806 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.554e-05/0.1422, allocations: 117.7 kB / 0.9807 GB, free: 12.06 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.1422, allocations: 55.97 kB / 0.9807 GB, free: 11.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1423, allocations: 8.375 kB / 0.9807 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.1425, allocations: 150.2 kB / 0.9809 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1425, allocations: 0 / 0.9809 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1425, allocations: 4 kB / 0.9809 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1425, allocations: 0 / 0.9809 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1426, allocations: 75.91 kB / 0.9809 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.1429, allocations: 221.8 kB / 0.9812 GB, free: 11.51 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.143, allocations: 98.45 kB / 0.9813 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.1431, allocations: 32.78 kB / 0.9813 GB, free: 11.37 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004864/0.1479, allocations: 2.665 MB / 0.9839 GB, free: 8.707 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.148, allocations: 34.56 kB / 0.9839 GB, free: 8.664 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.148, allocations: 0 / 0.9839 GB, free: 8.664 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002482/0.1482, allocations: 124.6 kB / 0.984 GB, free: 8.539 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.1482, allocations: 51.41 kB / 0.9841 GB, free: 8.477 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.978e-05/0.1483, allocations: 110.7 kB / 0.9842 GB, free: 8.355 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1483, allocations: 29.7 kB / 0.9842 GB, free: 8.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.1485, allocations: 84.09 kB / 0.9843 GB, free: 8.234 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1485, allocations: 47.56 kB / 0.9843 GB, free: 8.188 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.1485, allocations: 29.7 kB / 0.9844 GB, free: 8.152 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.1486, allocations: 318.8 kB / 0.9847 GB, free: 7.832 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.1486, allocations: 8 kB / 0.9847 GB, free: 7.824 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.1486, allocations: 15.98 kB / 0.9847 GB, free: 7.809 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.1487, allocations: 52.75 kB / 0.9848 GB, free: 7.754 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1487, allocations: 0 / 0.9848 GB, free: 7.754 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.447e-05/0.1488, allocations: 77.61 kB / 0.9848 GB, free: 7.672 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1488, allocations: 8 kB / 0.9848 GB, free: 7.664 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1488, allocations: 0 / 0.9848 GB, free: 7.664 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1488, allocations: 4 kB / 0.9848 GB, free: 7.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.1489, allocations: 19.98 kB / 0.9849 GB, free: 7.641 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1489, allocations: 7.922 kB / 0.9849 GB, free: 7.633 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.1489, allocations: 11.95 kB / 0.9849 GB, free: 7.621 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1489, allocations: 0 / 0.9849 GB, free: 7.621 MB / 0.948 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 5.318e-05/0.149, allocations: 113.8 kB / 0.985 GB, free: 7.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.149, allocations: 16.05 kB / 0.985 GB, free: 7.484 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.1492, allocations: 251.5 kB / 0.9852 GB, free: 7.234 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.1492, allocations: 15.98 kB / 0.9853 GB, free: 7.219 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1492, allocations: 0 / 0.9853 GB, free: 7.219 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.1492, allocations: 3.938 kB / 0.9853 GB, free: 7.215 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1494, allocations: 141.8 kB / 0.9854 GB, free: 7.059 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1494, allocations: 0 / 0.9854 GB, free: 7.059 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.1495, allocations: 27.92 kB / 0.9854 GB, free: 7.031 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1495, allocations: 0 / 0.9854 GB, free: 7.031 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1495, allocations: 7.938 kB / 0.9854 GB, free: 7.023 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1495, allocations: 0 / 0.9854 GB, free: 7.023 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1495, allocations: 0 / 0.9854 GB, free: 7.023 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.1497, allocations: 290.7 kB / 0.9857 GB, free: 6.723 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.1497, allocations: 31.83 kB / 0.9857 GB, free: 6.691 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.1497, allocations: 7.938 kB / 0.9857 GB, free: 6.684 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.1498, allocations: 11.94 kB / 0.9858 GB, free: 6.672 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.1498, allocations: 11.97 kB / 0.9858 GB, free: 6.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.1498, allocations: 0 / 0.9858 GB, free: 6.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.243e-05/0.1498, allocations: 8.859 kB / 0.9858 GB, free: 6.648 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1498, allocations: 0 / 0.9858 GB, free: 6.648 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006084/0.1504, allocations: 303.7 kB / 0.9861 GB, free: 6.352 MB / 0.948 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.0009834/0.1514, allocations: 465.8 kB / 0.9865 GB, free: 5.887 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1515, allocations: 79.58 kB / 0.9866 GB, free: 5.809 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1516, allocations: 0 / 0.9866 GB, free: 5.809 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.1516, allocations: 64.69 kB / 0.9866 GB, free: 5.742 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.1518, allocations: 23.98 kB / 0.9867 GB, free: 5.719 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.1525, allocations: 295.3 kB / 0.987 GB, free: 5.406 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.673e-05/0.1526, allocations: 72.73 kB / 0.987 GB, free: 5.316 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.663e-05/0.1527, allocations: 28.41 kB / 0.987 GB, free: 5.285 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1528, allocations: 85.3 kB / 0.9871 GB, free: 5.199 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.1528, allocations: 4 kB / 0.9871 GB, free: 5.195 MB / 0.948 GB Notification: Performance of Templates: time 0.01167/0.1645, allocations: 11.03 MB / 0.9979 GB, free: 10.17 MB / 0.9636 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 -s gbode -gbm=radauIIA3 -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: 5.7811777289025486]