Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001009/0.001009, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001056/0.001056, allocations: 161 kB / 23.82 MB, free: 0.7461 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 0.9361/0.9361, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.758/1.758, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.787 GB, free: 11.42 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.55e-05, allocations: 3.188 kB / 0.7871 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1208/0.1208, allocations: 131.3 MB / 0.9153 GB, free: 7.699 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.007177/0.128, allocations: 7.937 MB / 0.923 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.128, allocations: 4 kB / 0.923 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.1282, allocations: 27.77 kB / 0.9231 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.1283, allocations: 19.86 kB / 0.9231 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.1313, allocations: 1.487 MB / 0.9245 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1314, allocations: 71.64 kB / 0.9246 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.1314, allocations: 7.984 kB / 0.9246 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1316, allocations: 63.75 kB / 0.9247 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.1316, allocations: 19.97 kB / 0.9247 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1317, allocations: 0 / 0.9247 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.1347, allocations: 2.625 MB / 0.9272 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.1348, allocations: 19.91 kB / 0.9273 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.1348, allocations: 19.98 kB / 0.9273 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.137, allocations: 1.805 MB / 0.929 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.137, allocations: 0 / 0.929 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.893e-06/0.137, allocations: 0 / 0.929 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.137, allocations: 0 / 0.929 GB, free: 9.555 MB / 0.8386 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.001116/0.1381, allocations: 0.5148 MB / 0.9295 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.1382, allocations: 12.03 kB / 0.9296 GB, free: 8.992 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.1385, allocations: 52.56 kB / 0.9296 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.1386, allocations: 116.6 kB / 0.9297 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.1386, allocations: 55.97 kB / 0.9298 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1387, allocations: 12.31 kB / 0.9298 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.139, allocations: 150.7 kB / 0.9299 GB, free: 8.562 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.139, allocations: 0 / 0.9299 GB, free: 8.562 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.139, allocations: 4 kB / 0.9299 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.139, allocations: 0 / 0.9299 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.1392, allocations: 87.91 kB / 0.93 GB, free: 8.473 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.1396, allocations: 319.6 kB / 0.9303 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.1399, allocations: 131 kB / 0.9304 GB, free: 7.984 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.1399, allocations: 39.67 kB / 0.9305 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005676/0.1456, allocations: 3.055 MB / 0.9335 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1456, allocations: 37.39 kB / 0.9335 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 2.505e-06/0.1456, allocations: 0 / 0.9335 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003927/0.146, allocations: 164.4 kB / 0.9337 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1461, allocations: 55.41 kB / 0.9337 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.1461, allocations: 161.9 kB / 0.9339 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1461, allocations: 25.7 kB / 0.9339 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.1462, allocations: 130.9 kB / 0.934 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1462, allocations: 51.55 kB / 0.9341 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.1463, allocations: 35.36 kB / 0.9341 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1464, allocations: 496.1 kB / 0.9346 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.1464, allocations: 23.98 kB / 0.9346 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.1464, allocations: 12 kB / 0.9346 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.728e-05/0.1465, allocations: 63.61 kB / 0.9347 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1465, allocations: 0 / 0.9347 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001361/0.1467, allocations: 109.6 kB / 0.9348 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1467, allocations: 4 kB / 0.9348 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1467, allocations: 7.984 kB / 0.9348 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1467, allocations: 4 kB / 0.9348 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.1468, allocations: 16 kB / 0.9348 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1468, allocations: 3.984 kB / 0.9348 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.1468, allocations: 7.953 kB / 0.9348 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1468, allocations: 4 kB / 0.9348 GB, free: 3.414 MB / 0.8386 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 8.061e-05/0.1469, allocations: 168.5 kB / 0.935 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1469, allocations: 11.89 kB / 0.935 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.1472, allocations: 280.3 kB / 0.9353 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1472, allocations: 7.984 kB / 0.9353 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1472, allocations: 3.984 kB / 0.9353 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1472, allocations: 4 kB / 0.9353 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.1474, allocations: 196.4 kB / 0.9355 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1474, allocations: 0 / 0.9355 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.1475, allocations: 23.92 kB / 0.9355 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1475, allocations: 7.938 kB / 0.9355 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1475, allocations: 4 kB / 0.9355 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1475, allocations: 0 / 0.9355 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1475, allocations: 0 / 0.9355 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1477, allocations: 343.4 kB / 0.9358 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.1478, allocations: 27.83 kB / 0.9358 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1478, allocations: 4 kB / 0.9359 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.064e-05/0.1479, allocations: 4 kB / 0.9359 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.1479, allocations: 11.97 kB / 0.9359 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1479, allocations: 8 kB / 0.9359 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.1479, allocations: 123.2 kB / 0.936 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.1479, allocations: 0 / 0.936 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006/0.1485, allocations: 315.5 kB / 0.9363 GB, free: 1.828 MB / 0.8386 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.001055/0.1496, allocations: 439.9 kB / 0.9367 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.1498, allocations: 99.53 kB / 0.9368 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1498, allocations: 0 / 0.9368 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.1498, allocations: 75.64 kB / 0.9369 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1501, allocations: 31.91 kB / 0.9369 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.1507, allocations: 301.4 kB / 0.9372 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.552e-05/0.1508, allocations: 75.84 kB / 0.9373 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.874e-05/0.1509, allocations: 32.34 kB / 0.9373 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.1509, allocations: 20.48 kB / 0.9373 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of SimCode: time 9.92e-07/0.1509, allocations: 0 / 0.9373 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of Templates: time 0.01349/0.1644, allocations: 11.72 MB / 0.9488 GB, free: 5.016 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.44516127416864]