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.0009523/0.0009523, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001106/0.001106, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.049/1.049, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.898/1.898, allocations: 377.8 MB / 0.6239 GB, free: 8.527 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 2.495e-06/2.495e-06, allocations: 0 / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.488e-05, allocations: 5.125 kB / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1236/0.1236, allocations: 131 MB / 0.9394 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007009/0.1306, allocations: 7.94 MB / 0.9472 GB, free: 6.68 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.548e-05/0.1307, allocations: 0 / 0.9472 GB, free: 6.68 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.1309, allocations: 19.91 kB / 0.9472 GB, free: 6.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/0.1309, allocations: 23.78 kB / 0.9472 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.1341, allocations: 1.471 MB / 0.9487 GB, free: 5.16 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.1343, allocations: 79.62 kB / 0.9487 GB, free: 5.082 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.1343, allocations: 8 kB / 0.9488 GB, free: 5.074 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1345, allocations: 55.81 kB / 0.9488 GB, free: 5.02 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.1345, allocations: 27.89 kB / 0.9488 GB, free: 4.992 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1346, allocations: 4 kB / 0.9488 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.138, allocations: 2.618 MB / 0.9514 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.138, allocations: 15.92 kB / 0.9514 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.1381, allocations: 23.97 kB / 0.9514 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.1407, allocations: 1.793 MB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1407, allocations: 0 / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.827e-06/0.1407, allocations: 4 kB / 0.9532 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.1407, allocations: 0 / 0.9532 GB, free: 0.5273 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.001104/0.1418, allocations: 0.5346 MB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1418, allocations: 8.031 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.1422, allocations: 44.64 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.1423, allocations: 120.5 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.1423, allocations: 55.97 kB / 0.9539 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1423, allocations: 8.375 kB / 0.9539 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1426, allocations: 144.3 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1426, allocations: 4 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1426, allocations: 0 / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.1426, allocations: 0 / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.1428, allocations: 99.83 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.1432, allocations: 315.6 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1434, allocations: 119 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.1435, allocations: 43.61 kB / 0.9546 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005854/0.1493, allocations: 3.058 MB / 0.9576 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.1494, allocations: 41.39 kB / 0.9577 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.1494, allocations: 0 / 0.9577 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0004238/0.1498, allocations: 153.5 kB / 0.9578 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1498, allocations: 51.41 kB / 0.9579 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.1499, allocations: 161.9 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1499, allocations: 33.64 kB / 0.958 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.15, allocations: 134.8 kB / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.15, allocations: 47.58 kB / 0.9582 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.15, allocations: 31.36 kB / 0.9582 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1501, allocations: 0.4923 MB / 0.9587 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.1502, allocations: 19.98 kB / 0.9587 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.1502, allocations: 15.98 kB / 0.9588 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.169e-05/0.1503, allocations: 69.36 kB / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1503, allocations: 0 / 0.9588 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001369/0.1504, allocations: 105.6 kB / 0.9589 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1504, allocations: 8 kB / 0.9589 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1505, allocations: 3.938 kB / 0.9589 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1505, allocations: 0 / 0.9589 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/0.1506, allocations: 23.98 kB / 0.959 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1506, allocations: 8 kB / 0.959 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.1506, allocations: 3.938 kB / 0.959 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.1506, allocations: 8 kB / 0.959 GB, free: 10.37 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 7.184e-05/0.1507, allocations: 160.5 kB / 0.9591 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.1507, allocations: 15.94 kB / 0.9591 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.151, allocations: 276 kB / 0.9594 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.151, allocations: 4.188 kB / 0.9594 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.151, allocations: 0 / 0.9594 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.151, allocations: 7.969 kB / 0.9594 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1512, allocations: 200.3 kB / 0.9596 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1512, allocations: 4 kB / 0.9596 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.1513, allocations: 23.98 kB / 0.9596 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1513, allocations: 0 / 0.9596 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1513, allocations: 0 / 0.9596 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1513, allocations: 7.984 kB / 0.9596 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1513, allocations: 0 / 0.9596 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.1515, allocations: 339.4 kB / 0.96 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.1516, allocations: 35.75 kB / 0.96 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1516, allocations: 0 / 0.96 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.1517, allocations: 8 kB / 0.96 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.1517, allocations: 3.984 kB / 0.96 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1517, allocations: 11.98 kB / 0.96 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001209/0.1518, allocations: 131.1 kB / 0.9601 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1518, allocations: 0 / 0.9601 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000774/0.1526, allocations: 303.7 kB / 0.9604 GB, free: 8.793 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.001042/0.1536, allocations: 449.1 kB / 0.9609 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.1538, allocations: 90.64 kB / 0.961 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1538, allocations: 4 kB / 0.961 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.1539, allocations: 79.53 kB / 0.961 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.1541, allocations: 43.89 kB / 0.9611 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.1548, allocations: 290.3 kB / 0.9614 GB, free: 7.82 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.933e-05/0.1549, allocations: 75.84 kB / 0.9614 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.509e-05/0.155, allocations: 28.41 kB / 0.9615 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.155, allocations: 16.5 kB / 0.9615 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of SimCode: time 1.122e-06/0.155, allocations: 4 kB / 0.9615 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of Templates: time 0.01155/0.1665, allocations: 10.33 MB / 0.9716 GB, free: 13.38 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.5000077991280705]