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.001042/0.001042, 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.001213/0.001213, 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 1.098/1.098, allocations: 177.1 MB / 204.2 MB, free: 5.254 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 2.024/2.024, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] 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.613e-06/1.613e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.559e-05, allocations: 5.688 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1184/0.1184, allocations: 131.3 MB / 0.9397 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.006921/0.1254, allocations: 7.948 MB / 0.9475 GB, free: 6.074 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.1254, allocations: 0 / 0.9475 GB, free: 6.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1256, allocations: 23.84 kB / 0.9475 GB, free: 6.051 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.53e-05/0.1256, allocations: 19.8 kB / 0.9475 GB, free: 6.031 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.1278, allocations: 1.471 MB / 0.949 GB, free: 4.555 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.83e-05/0.1279, allocations: 75.59 kB / 0.949 GB, free: 4.48 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.128, allocations: 8 kB / 0.949 GB, free: 4.473 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1281, allocations: 59.8 kB / 0.9491 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.1281, allocations: 27.91 kB / 0.9491 GB, free: 4.387 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1282, allocations: 4 kB / 0.9491 GB, free: 4.383 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.1308, allocations: 2.618 MB / 0.9517 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.1309, allocations: 19.91 kB / 0.9517 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.1309, allocations: 19.94 kB / 0.9517 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.1325, allocations: 1.797 MB / 0.9535 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1325, allocations: 4 kB / 0.9535 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1325, allocations: 7.938 kB / 0.9535 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1325, allocations: 0 / 0.9535 GB, free: 15.91 MB / 0.9167 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.0007437/0.1332, allocations: 0.5152 MB / 0.954 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1333, allocations: 8.031 kB / 0.954 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.1335, allocations: 52.62 kB / 0.954 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.1336, allocations: 112.6 kB / 0.9542 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.1337, allocations: 59.91 kB / 0.9542 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.1337, allocations: 8.375 kB / 0.9542 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1339, allocations: 152.2 kB / 0.9544 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1339, allocations: 4 kB / 0.9544 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.134, allocations: 4 kB / 0.9544 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.134, allocations: 4 kB / 0.9544 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.1341, allocations: 86.58 kB / 0.9545 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.1345, allocations: 319.6 kB / 0.9548 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1347, allocations: 131 kB / 0.9549 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1347, allocations: 39.67 kB / 0.9549 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005613/0.1403, allocations: 3.055 MB / 0.9579 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1404, allocations: 37.39 kB / 0.9579 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1404, allocations: 0 / 0.9579 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003254/0.1407, allocations: 161.4 kB / 0.9581 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1407, allocations: 51.41 kB / 0.9581 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.1408, allocations: 161.9 kB / 0.9583 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1408, allocations: 25.7 kB / 0.9583 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.1408, allocations: 138.8 kB / 0.9585 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.1409, allocations: 43.58 kB / 0.9585 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1409, allocations: 39.36 kB / 0.9585 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.141, allocations: 0.4884 MB / 0.959 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.141, allocations: 19.98 kB / 0.959 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/0.1411, allocations: 20 kB / 0.9591 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.411e-05/0.1411, allocations: 64.23 kB / 0.9591 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1412, allocations: 0 / 0.9591 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001266/0.1413, allocations: 110.6 kB / 0.9592 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1413, allocations: 4 kB / 0.9592 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1413, allocations: 3.938 kB / 0.9592 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1413, allocations: 7.984 kB / 0.9592 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.1414, allocations: 20 kB / 0.9593 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1414, allocations: 7.984 kB / 0.9593 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.1414, allocations: 7.938 kB / 0.9593 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.1414, allocations: 4 kB / 0.9593 GB, free: 9.758 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 6.627e-05/0.1415, allocations: 168.5 kB / 0.9594 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.1415, allocations: 7.953 kB / 0.9594 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.1418, allocations: 268.1 kB / 0.9597 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.1418, allocations: 11.98 kB / 0.9597 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1418, allocations: 0 / 0.9597 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1418, allocations: 0 / 0.9597 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.142, allocations: 204.3 kB / 0.9599 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.142, allocations: 4 kB / 0.9599 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.142, allocations: 23.92 kB / 0.9599 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.142, allocations: 0 / 0.9599 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.142, allocations: 8 kB / 0.9599 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.142, allocations: 0 / 0.9599 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.142, allocations: 0 / 0.9599 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.1423, allocations: 339.4 kB / 0.9603 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.1424, allocations: 27.77 kB / 0.9603 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.1424, allocations: 4 kB / 0.9603 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.189e-05/0.1424, allocations: 4 kB / 0.9603 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.1425, allocations: 15.97 kB / 0.9603 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1425, allocations: 8 kB / 0.9603 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.1425, allocations: 119.2 kB / 0.9604 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1425, allocations: 4 kB / 0.9604 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004702/0.143, allocations: 307.7 kB / 0.9607 GB, free: 8.188 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.000896/0.1439, allocations: 454.9 kB / 0.9612 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.144, allocations: 90.91 kB / 0.9612 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.144, allocations: 0 / 0.9612 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.1441, allocations: 87.45 kB / 0.9613 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.1443, allocations: 35.91 kB / 0.9614 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.1449, allocations: 298.2 kB / 0.9617 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.145, allocations: 71.84 kB / 0.9617 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.183e-05/0.145, allocations: 28.41 kB / 0.9617 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.1451, allocations: 24.48 kB / 0.9618 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.1451, allocations: 0 / 0.9618 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of Templates: time 0.009894/0.155, allocations: 10.32 MB / 0.9718 GB, free: 12.77 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.897424994967878]