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.0009429/0.0009429, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009683/0.0009683, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9649/0.9649, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.324/2.324, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.292e-06/1.292e-06, allocations: 0 / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.475e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1408/0.1409, allocations: 130.8 MB / 0.9662 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008921/0.1498, allocations: 7.939 MB / 0.974 GB, free: 2.977 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.1499, allocations: 3.938 kB / 0.974 GB, free: 2.973 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.1501, allocations: 27.89 kB / 0.974 GB, free: 2.945 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-05/0.1502, allocations: 19.8 kB / 0.974 GB, free: 2.926 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.1539, allocations: 1.471 MB / 0.9755 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.154, allocations: 91.56 kB / 0.9756 GB, free: 1.359 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.1541, allocations: 4 kB / 0.9756 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1542, allocations: 55.81 kB / 0.9756 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.1543, allocations: 27.89 kB / 0.9756 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1543, allocations: 4 kB / 0.9757 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.1575, allocations: 2.622 MB / 0.9782 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.1576, allocations: 11.98 kB / 0.9782 GB, free: 14.63 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.1576, allocations: 23.91 kB / 0.9782 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.1598, allocations: 1.797 MB / 0.98 GB, free: 12.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1598, allocations: 3.938 kB / 0.98 GB, free: 12.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1598, allocations: 0 / 0.98 GB, free: 12.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1598, allocations: 0 / 0.98 GB, free: 12.8 MB / 0.948 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.0008961/0.1607, allocations: 407.6 kB / 0.9804 GB, free: 12.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1608, allocations: 8.625 kB / 0.9804 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.161, allocations: 52.61 kB / 0.9805 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.312e-05/0.1611, allocations: 129.6 kB / 0.9806 GB, free: 12.17 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.1611, allocations: 59.97 kB / 0.9806 GB, free: 12.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1612, allocations: 4.375 kB / 0.9806 GB, free: 12.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.1614, allocations: 147.1 kB / 0.9808 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1614, allocations: 0 / 0.9808 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1614, allocations: 0 / 0.9808 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1614, allocations: 0 / 0.9808 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1615, allocations: 83.84 kB / 0.9809 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.1618, allocations: 213.8 kB / 0.9811 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.162, allocations: 98.52 kB / 0.9812 GB, free: 11.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.162, allocations: 28.84 kB / 0.9812 GB, free: 11.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004924/0.1669, allocations: 2.661 MB / 0.9838 GB, free: 8.832 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1669, allocations: 30.56 kB / 0.9838 GB, free: 8.793 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.1669, allocations: 0 / 0.9838 GB, free: 8.793 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002579/0.1672, allocations: 129.5 kB / 0.9839 GB, free: 8.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1672, allocations: 55.41 kB / 0.984 GB, free: 8.594 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.878e-05/0.1673, allocations: 98.72 kB / 0.9841 GB, free: 8.484 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1673, allocations: 29.7 kB / 0.9841 GB, free: 8.449 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.1673, allocations: 92.09 kB / 0.9842 GB, free: 8.355 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1673, allocations: 47.56 kB / 0.9842 GB, free: 8.309 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.1674, allocations: 29.69 kB / 0.9843 GB, free: 8.273 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.1674, allocations: 318.8 kB / 0.9846 GB, free: 7.953 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.1675, allocations: 11.94 kB / 0.9846 GB, free: 7.941 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.1675, allocations: 15.12 kB / 0.9846 GB, free: 7.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.1675, allocations: 56.8 kB / 0.9847 GB, free: 7.871 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1675, allocations: 0 / 0.9847 GB, free: 7.871 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.019e-05/0.1676, allocations: 69.8 kB / 0.9847 GB, free: 7.797 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1676, allocations: 11.94 kB / 0.9847 GB, free: 7.785 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1676, allocations: 0 / 0.9847 GB, free: 7.785 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1677, allocations: 7.984 kB / 0.9847 GB, free: 7.777 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.1677, allocations: 27.92 kB / 0.9848 GB, free: 7.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.1677, allocations: 0 / 0.9848 GB, free: 7.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.1678, allocations: 7.953 kB / 0.9848 GB, free: 7.742 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1678, allocations: 0 / 0.9848 GB, free: 7.742 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 6.082e-05/0.1678, allocations: 113.8 kB / 0.9849 GB, free: 7.621 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1679, allocations: 19.86 kB / 0.9849 GB, free: 7.602 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.1681, allocations: 255.4 kB / 0.9851 GB, free: 7.348 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.1681, allocations: 11.98 kB / 0.9852 GB, free: 7.336 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1681, allocations: 4 kB / 0.9852 GB, free: 7.332 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1681, allocations: 0 / 0.9852 GB, free: 7.332 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.1682, allocations: 141.8 kB / 0.9853 GB, free: 7.176 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1682, allocations: 0 / 0.9853 GB, free: 7.176 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.1683, allocations: 19.98 kB / 0.9853 GB, free: 7.156 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1683, allocations: 4 kB / 0.9853 GB, free: 7.152 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1683, allocations: 3.938 kB / 0.9853 GB, free: 7.148 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1683, allocations: 0 / 0.9853 GB, free: 7.148 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1683, allocations: 0 / 0.9853 GB, free: 7.148 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1685, allocations: 294.6 kB / 0.9856 GB, free: 6.844 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.1685, allocations: 27.83 kB / 0.9856 GB, free: 6.816 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1685, allocations: 11.94 kB / 0.9856 GB, free: 6.805 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/0.1686, allocations: 7.984 kB / 0.9857 GB, free: 6.797 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.1686, allocations: 7.984 kB / 0.9857 GB, free: 6.789 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1686, allocations: 8 kB / 0.9857 GB, free: 6.781 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.287e-05/0.1686, allocations: 12.84 kB / 0.9857 GB, free: 6.766 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1686, allocations: 0 / 0.9857 GB, free: 6.766 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005655/0.1692, allocations: 299.7 kB / 0.986 GB, free: 6.473 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.0009106/0.1701, allocations: 459.7 kB / 0.9864 GB, free: 6.012 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.1702, allocations: 76.72 kB / 0.9865 GB, free: 5.934 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1702, allocations: 0 / 0.9865 GB, free: 5.934 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.1703, allocations: 60.75 kB / 0.9865 GB, free: 5.871 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.1704, allocations: 34.3 kB / 0.9866 GB, free: 5.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.171, allocations: 293.5 kB / 0.9868 GB, free: 5.531 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.171, allocations: 80.72 kB / 0.9869 GB, free: 5.434 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.338e-05/0.1711, allocations: 32.53 kB / 0.987 GB, free: 5.398 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.982e-05/0.1712, allocations: 81.25 kB / 0.987 GB, free: 5.316 MB / 0.948 GB Notification: Performance of SimCode: time 6.52e-07/0.1712, allocations: 0 / 0.987 GB, free: 5.316 MB / 0.948 GB Notification: Performance of Templates: time 0.01163/0.1829, allocations: 11.03 MB / 0.9978 GB, free: 10.29 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 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.657284288201481]