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.001325/0.001325, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002029/0.003354, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001137/0.001137, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001531/0.002668, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9697/0.9697, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08183/1.052, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.409/2.409, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2888/2.698, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.213e-06/1.213e-06, allocations: 0 / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.159e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1436/0.1436, allocations: 131.2 MB / 0.947 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008677/0.1523, allocations: 7.971 MB / 0.9548 GB, free: 6.789 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.1524, allocations: 0 / 0.9548 GB, free: 6.789 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.1525, allocations: 19.84 kB / 0.9548 GB, free: 6.77 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.778e-05/0.1526, allocations: 23.78 kB / 0.9549 GB, free: 6.746 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.1562, allocations: 1.311 MB / 0.9561 GB, free: 5.43 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1563, allocations: 83.58 kB / 0.9562 GB, free: 5.348 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.1564, allocations: 4 kB / 0.9562 GB, free: 5.344 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.1565, allocations: 63.75 kB / 0.9563 GB, free: 5.281 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.1566, allocations: 31.89 kB / 0.9563 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1566, allocations: 4 kB / 0.9563 GB, free: 5.246 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.1609, allocations: 2.782 MB / 0.959 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.161, allocations: 8 kB / 0.959 GB, free: 2.453 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.161, allocations: 19.94 kB / 0.9591 GB, free: 2.434 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.1631, allocations: 1.318 MB / 0.9604 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.257e-05/0.1631, allocations: 0 / 0.9604 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.875e-06/0.1631, allocations: 4 kB / 0.9604 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.1631, allocations: 0 / 0.9604 GB, free: 1.109 MB / 0.9323 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.001091/0.1642, allocations: 0.5592 MB / 0.9609 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.1643, allocations: 15.97 kB / 0.9609 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.1646, allocations: 60.61 kB / 0.961 GB, free: 444 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1647, allocations: 109.7 kB / 0.9611 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/0.1648, allocations: 59.97 kB / 0.9611 GB, free: 236 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1648, allocations: 12.31 kB / 0.9612 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.1651, allocations: 145.5 kB / 0.9613 GB, free: 64 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1651, allocations: 8 kB / 0.9613 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1651, allocations: 0 / 0.9613 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1651, allocations: 0 / 0.9613 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.1653, allocations: 72 kB / 0.9614 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.1657, allocations: 217.7 kB / 0.9616 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1658, allocations: 102.5 kB / 0.9617 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.1659, allocations: 36.83 kB / 0.9617 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005021/0.1709, allocations: 2.653 MB / 0.9643 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.1709, allocations: 38.56 kB / 0.9643 GB, free: 12.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.634e-06/0.1709, allocations: 0 / 0.9643 GB, free: 12.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0003221/0.1713, allocations: 129.5 kB / 0.9645 GB, free: 12.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1713, allocations: 51.41 kB / 0.9645 GB, free: 12.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.1714, allocations: 106.7 kB / 0.9646 GB, free: 12.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1714, allocations: 29.7 kB / 0.9646 GB, free: 12.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.1714, allocations: 84.14 kB / 0.9647 GB, free: 12.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.1715, allocations: 47.56 kB / 0.9648 GB, free: 12.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1715, allocations: 21.72 kB / 0.9648 GB, free: 12.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1716, allocations: 326.8 kB / 0.9651 GB, free: 12.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.1717, allocations: 12 kB / 0.9651 GB, free: 12.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.1717, allocations: 15.98 kB / 0.9651 GB, free: 12.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.306e-05/0.1717, allocations: 47.56 kB / 0.9652 GB, free: 11.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.1717, allocations: 7.938 kB / 0.9652 GB, free: 11.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001258/0.1719, allocations: 85.55 kB / 0.9653 GB, free: 11.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1719, allocations: 4 kB / 0.9653 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1719, allocations: 0 / 0.9653 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1719, allocations: 0 / 0.9653 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.172, allocations: 27.97 kB / 0.9653 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.172, allocations: 4 kB / 0.9653 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.172, allocations: 7.953 kB / 0.9653 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1721, allocations: 8 kB / 0.9653 GB, free: 11.84 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 8.535e-05/0.1721, allocations: 113.8 kB / 0.9654 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1722, allocations: 19.86 kB / 0.9654 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.1725, allocations: 263.1 kB / 0.9657 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.1725, allocations: 4 kB / 0.9657 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1725, allocations: 0 / 0.9657 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.1725, allocations: 3.984 kB / 0.9657 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.1727, allocations: 138 kB / 0.9658 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1727, allocations: 0 / 0.9658 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.1728, allocations: 31.92 kB / 0.9659 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.1728, allocations: 31.7 kB / 0.9659 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1728, allocations: 4 kB / 0.9659 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1728, allocations: 4 kB / 0.9659 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1728, allocations: 0 / 0.9659 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1728, allocations: 0 / 0.9659 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1731, allocations: 286.5 kB / 0.9662 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1731, allocations: 3.938 kB / 0.9662 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.1731, allocations: 11.98 kB / 0.9662 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.1732, allocations: 7.984 kB / 0.9662 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1732, allocations: 4 kB / 0.9662 GB, free: 10.88 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.275e-05/0.1732, allocations: 16.84 kB / 0.9662 GB, free: 10.86 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1732, allocations: 0 / 0.9662 GB, free: 10.86 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006443/0.1738, allocations: 299.7 kB / 0.9665 GB, free: 10.57 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.001354/0.1752, allocations: 482.5 kB / 0.967 GB, free: 10.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1753, allocations: 68.77 kB / 0.967 GB, free: 10.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.1753, allocations: 8 kB / 0.967 GB, free: 10.01 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.1754, allocations: 72.69 kB / 0.9671 GB, free: 9.938 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.1757, allocations: 91.36 kB / 0.9672 GB, free: 9.836 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1771, allocations: 305.4 kB / 0.9675 GB, free: 9.512 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.259e-05/0.1772, allocations: 71.84 kB / 0.9675 GB, free: 9.422 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.434e-05/0.1772, allocations: 28.47 kB / 0.9676 GB, free: 9.395 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.1774, allocations: 81.31 kB / 0.9676 GB, free: 9.312 MB / 0.948 GB Notification: Performance of SimCode: time 1.192e-06/0.1774, allocations: 0 / 0.9676 GB, free: 9.312 MB / 0.948 GB Notification: Performance of Templates: time 0.01417/0.1915, allocations: 11.14 MB / 0.9785 GB, free: 14.18 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 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.897669863887131]