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.0009318/0.0009318, 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.0009079/0.0009079, allocations: 161 kB / 23.82 MB, free: 0.75 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.9473/0.9473, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.867/1.867, allocations: 377.9 MB / 0.6236 GB, free: 8.52 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.403e-06/1.403e-06, allocations: 0 / 0.8115 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.624e-05, allocations: 4.703 kB / 0.8115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1248/0.1248, allocations: 131.3 MB / 0.9397 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006976/0.1318, allocations: 7.948 MB / 0.9475 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.1318, allocations: 0 / 0.9475 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.132, allocations: 27.83 kB / 0.9475 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.1321, allocations: 19.8 kB / 0.9475 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.1351, allocations: 1.475 MB / 0.949 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1352, allocations: 79.64 kB / 0.9491 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.1353, allocations: 3.984 kB / 0.9491 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1354, allocations: 59.81 kB / 0.9491 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.1355, allocations: 19.92 kB / 0.9491 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1355, allocations: 7.984 kB / 0.9491 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.1387, allocations: 2.625 MB / 0.9517 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.1387, allocations: 15.91 kB / 0.9517 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.1387, allocations: 20 kB / 0.9517 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.1409, allocations: 1.797 MB / 0.9535 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1409, allocations: 0 / 0.9535 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1409, allocations: 4 kB / 0.9535 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1409, allocations: 0 / 0.9535 GB, free: 14.74 MB / 0.8698 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.001065/0.142, allocations: 0.5269 MB / 0.954 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.142, allocations: 8.031 kB / 0.954 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.1423, allocations: 52.56 kB / 0.9541 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.1424, allocations: 116.6 kB / 0.9542 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.1425, allocations: 55.91 kB / 0.9542 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1425, allocations: 12.38 kB / 0.9542 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.1427, allocations: 144.3 kB / 0.9544 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1427, allocations: 8 kB / 0.9544 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1428, allocations: 0 / 0.9544 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.1428, allocations: 0 / 0.9544 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1429, allocations: 87.91 kB / 0.9545 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.1433, allocations: 323.6 kB / 0.9548 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1435, allocations: 119 kB / 0.9549 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.1435, allocations: 39.67 kB / 0.9549 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005461/0.149, allocations: 3.062 MB / 0.9579 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.149, allocations: 41.38 kB / 0.958 GB, free: 10 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.149, allocations: 0 / 0.958 GB, free: 10 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0003504/0.1494, allocations: 161.4 kB / 0.9581 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.1494, allocations: 55.41 kB / 0.9582 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.749e-05/0.1495, allocations: 153.9 kB / 0.9583 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1495, allocations: 29.7 kB / 0.9583 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.1495, allocations: 134.9 kB / 0.9585 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1496, allocations: 47.55 kB / 0.9585 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.1496, allocations: 35.36 kB / 0.9586 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1497, allocations: 0.4923 MB / 0.959 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.1498, allocations: 19.98 kB / 0.9591 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.1498, allocations: 15.98 kB / 0.9591 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.467e-05/0.1499, allocations: 63.62 kB / 0.9591 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1499, allocations: 0 / 0.9591 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001351/0.15, allocations: 108.2 kB / 0.9592 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.15, allocations: 11.98 kB / 0.9592 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.15, allocations: 0 / 0.9592 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.15, allocations: 0 / 0.9592 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.717e-05/0.1501, allocations: 19.98 kB / 0.9593 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1501, allocations: 4 kB / 0.9593 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.1502, allocations: 7.953 kB / 0.9593 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1502, allocations: 8 kB / 0.9593 GB, free: 8.578 MB / 0.8698 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.947e-05/0.1502, allocations: 164.5 kB / 0.9594 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.1503, allocations: 19.89 kB / 0.9595 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.1506, allocations: 270 kB / 0.9597 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1506, allocations: 7.984 kB / 0.9597 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1506, allocations: 0 / 0.9597 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1506, allocations: 0 / 0.9597 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.1507, allocations: 200.4 kB / 0.9599 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1507, allocations: 4 kB / 0.9599 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.1508, allocations: 27.92 kB / 0.9599 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1508, allocations: 0 / 0.9599 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1508, allocations: 0 / 0.9599 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1508, allocations: 0 / 0.9599 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1508, allocations: 0 / 0.9599 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.151, allocations: 343.6 kB / 0.9603 GB, free: 7.492 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.1511, allocations: 27.83 kB / 0.9603 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1511, allocations: 0 / 0.9603 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.1512, allocations: 11.92 kB / 0.9603 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.1512, allocations: 7.984 kB / 0.9603 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1512, allocations: 8 kB / 0.9603 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002264/0.1514, allocations: 131.2 kB / 0.9604 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1514, allocations: 3.938 kB / 0.9605 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005974/0.152, allocations: 307.6 kB / 0.9607 GB, free: 7.004 MB / 0.8698 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.0009103/0.1529, allocations: 447.1 kB / 0.9612 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.1531, allocations: 87.59 kB / 0.9613 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1531, allocations: 0 / 0.9613 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.1531, allocations: 79.64 kB / 0.9613 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.1534, allocations: 31.91 kB / 0.9614 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007005/0.1541, allocations: 302.2 kB / 0.9617 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.1541, allocations: 75.84 kB / 0.9617 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.225e-05/0.1542, allocations: 28.41 kB / 0.9617 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.1543, allocations: 20.48 kB / 0.9618 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/0.1543, allocations: 0 / 0.9618 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of Templates: time 0.01363/0.1679, allocations: 11.74 MB / 0.9732 GB, free: 10.19 MB / 0.8855 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.717835938092321]