Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00106/0.00106, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001051/0.001051, allocations: 167.5 kB / 24.86 MB, free: 9.289 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.003/1.003, allocations: 177.2 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.85/1.85, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8127 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.298e-05, allocations: 4.703 kB / 0.8127 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.115/0.115, allocations: 128.8 MB / 0.9385 GB, free: 284 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006635/0.1216, allocations: 7.851 MB / 0.9462 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.1217, allocations: 0 / 0.9462 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.1218, allocations: 23.89 kB / 0.9462 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.1219, allocations: 23.78 kB / 0.9462 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.1245, allocations: 1.471 MB / 0.9477 GB, free: 6.871 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.1246, allocations: 75.62 kB / 0.9478 GB, free: 6.797 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.079e-05/0.1246, allocations: 8 kB / 0.9478 GB, free: 6.789 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1247, allocations: 59.81 kB / 0.9478 GB, free: 6.73 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.1248, allocations: 27.89 kB / 0.9478 GB, free: 6.703 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1248, allocations: 4 kB / 0.9478 GB, free: 6.699 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.1276, allocations: 2.614 MB / 0.9504 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.1276, allocations: 23.84 kB / 0.9504 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.1277, allocations: 27.97 kB / 0.9504 GB, free: 4.031 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.1296, allocations: 1.793 MB / 0.9522 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1296, allocations: 0 / 0.9522 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1296, allocations: 4 kB / 0.9522 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1296, allocations: 0 / 0.9522 GB, free: 2.23 MB / 0.9011 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.0007167/0.1303, allocations: 0.5268 MB / 0.9527 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1303, allocations: 12.03 kB / 0.9527 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.1305, allocations: 48.64 kB / 0.9528 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.325e-05/0.1306, allocations: 112.5 kB / 0.9529 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.1306, allocations: 55.97 kB / 0.9529 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1306, allocations: 8.375 kB / 0.9529 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1308, allocations: 140.3 kB / 0.9531 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1308, allocations: 4 kB / 0.9531 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1308, allocations: 8 kB / 0.9531 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1308, allocations: 0 / 0.9531 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.131, allocations: 86.5 kB / 0.9532 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.1312, allocations: 292.3 kB / 0.9535 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1314, allocations: 111 kB / 0.9536 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.1314, allocations: 43.59 kB / 0.9536 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004876/0.1363, allocations: 2.583 MB / 0.9561 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1363, allocations: 37.39 kB / 0.9562 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.1363, allocations: 0 / 0.9562 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0002771/0.1366, allocations: 145.5 kB / 0.9563 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.1366, allocations: 59.34 kB / 0.9564 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.1367, allocations: 157.9 kB / 0.9565 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1367, allocations: 25.7 kB / 0.9565 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.1367, allocations: 130.8 kB / 0.9567 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1368, allocations: 51.56 kB / 0.9567 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.1368, allocations: 39.34 kB / 0.9567 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.1369, allocations: 0.4884 MB / 0.9572 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.1369, allocations: 15.98 kB / 0.9572 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.1369, allocations: 15.98 kB / 0.9572 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.274e-05/0.137, allocations: 53.55 kB / 0.9573 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.137, allocations: 0 / 0.9573 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001064/0.1371, allocations: 105.5 kB / 0.9574 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.1371, allocations: 4 kB / 0.9574 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1371, allocations: 0 / 0.9574 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.303e-06/0.1371, allocations: 0 / 0.9574 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.1372, allocations: 19.98 kB / 0.9574 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.1372, allocations: 4 kB / 0.9574 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.1372, allocations: 7.938 kB / 0.9574 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.1372, allocations: 8 kB / 0.9574 GB, free: 12.65 MB / 0.9167 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 0.0001966/0.1374, allocations: 160.5 kB / 0.9576 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1374, allocations: 15.89 kB / 0.9576 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.1377, allocations: 256.1 kB / 0.9579 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1377, allocations: 0 / 0.9579 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1377, allocations: 8 kB / 0.9579 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1377, allocations: 0 / 0.9579 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.1378, allocations: 181 kB / 0.958 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1378, allocations: 0 / 0.958 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.1379, allocations: 27.92 kB / 0.9581 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1379, allocations: 7.938 kB / 0.9581 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1379, allocations: 4 kB / 0.9581 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.1379, allocations: 0 / 0.9581 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1379, allocations: 0 / 0.9581 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.1381, allocations: 319.5 kB / 0.9584 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.1381, allocations: 31.77 kB / 0.9584 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.1381, allocations: 3.938 kB / 0.9584 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.1382, allocations: 11.98 kB / 0.9584 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.1382, allocations: 11.92 kB / 0.9584 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1382, allocations: 4 kB / 0.9584 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.893e-05/0.1382, allocations: 127.2 kB / 0.9586 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.1382, allocations: 0 / 0.9586 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005027/0.1387, allocations: 303.7 kB / 0.9588 GB, free: 11.14 MB / 0.9167 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.0008658/0.1396, allocations: 457.8 kB / 0.9593 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.1397, allocations: 83.59 kB / 0.9594 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1397, allocations: 0 / 0.9594 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/0.1398, allocations: 75.5 kB / 0.9594 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.14, allocations: 23.98 kB / 0.9595 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.1405, allocations: 290.2 kB / 0.9597 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.1405, allocations: 75.84 kB / 0.9598 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.194e-05/0.1406, allocations: 32.62 kB / 0.9598 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.1407, allocations: 110.2 kB / 0.9599 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of SimCode: time 7.01e-07/0.1407, allocations: 0 / 0.9599 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of Templates: time 0.01156/0.1523, allocations: 11.41 MB / 0.9711 GB, free: 14.58 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.6952058407478034]