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.001499/0.001499, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001425/0.001425, allocations: 169 kB / 24.06 MB, free: 456 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.035/1.035, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.156/2.156, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.764e-06/1.764e-06, allocations: 0 / 0.8793 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.906e-05, allocations: 2.312 kB / 0.8793 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1645/0.1645, allocations: 128.8 MB / 1.005 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00841/0.1729, allocations: 7.855 MB / 1.013 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.957e-05/0.173, allocations: 0 / 1.013 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.1733, allocations: 27.83 kB / 1.013 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.1734, allocations: 23.8 kB / 1.013 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003876/0.1772, allocations: 1.475 MB / 1.014 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1774, allocations: 71.64 kB / 1.014 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.1774, allocations: 7.938 kB / 1.014 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.1776, allocations: 59.81 kB / 1.014 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 8.805e-05/0.1777, allocations: 19.97 kB / 1.014 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1777, allocations: 7.984 kB / 1.014 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003883/0.1816, allocations: 2.614 MB / 1.017 GB, free: 8.566 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.1816, allocations: 15.92 kB / 1.017 GB, free: 8.551 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.1817, allocations: 31.92 kB / 1.017 GB, free: 8.52 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.1845, allocations: 1.793 MB / 1.019 GB, free: 6.723 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1845, allocations: 0 / 1.019 GB, free: 6.723 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1845, allocations: 0 / 1.019 GB, free: 6.723 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1845, allocations: 0 / 1.019 GB, free: 6.723 MB / 0.9792 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.001112/0.1856, allocations: 0.5226 MB / 1.019 GB, free: 6.164 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1857, allocations: 15.97 kB / 1.019 GB, free: 6.148 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.186, allocations: 48.67 kB / 1.019 GB, free: 6.102 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.1861, allocations: 116.5 kB / 1.02 GB, free: 5.961 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/0.1861, allocations: 59.97 kB / 1.02 GB, free: 5.891 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.1862, allocations: 12.38 kB / 1.02 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.1864, allocations: 134.2 kB / 1.02 GB, free: 5.734 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1864, allocations: 0 / 1.02 GB, free: 5.734 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1864, allocations: 11.98 kB / 1.02 GB, free: 5.723 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.1864, allocations: 0 / 1.02 GB, free: 5.723 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.1866, allocations: 83.78 kB / 1.02 GB, free: 5.641 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.1869, allocations: 296.3 kB / 1.02 GB, free: 5.324 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.1871, allocations: 107 kB / 1.02 GB, free: 5.207 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.274e-05/0.1872, allocations: 55.53 kB / 1.02 GB, free: 5.148 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005679/0.1928, allocations: 2.575 MB / 1.023 GB, free: 2.574 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1929, allocations: 37.39 kB / 1.023 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1929, allocations: 0 / 1.023 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13): time 0.0003566/0.1932, allocations: 141.5 kB / 1.023 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.1933, allocations: 59.39 kB / 1.023 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.1933, allocations: 161.9 kB / 1.023 GB, free: 2.137 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1934, allocations: 25.7 kB / 1.023 GB, free: 2.105 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.1934, allocations: 130.9 kB / 1.023 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.1934, allocations: 55.56 kB / 1.023 GB, free: 1.918 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.1935, allocations: 35.34 kB / 1.023 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1936, allocations: 492.1 kB / 1.024 GB, free: 1.383 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.1936, allocations: 15.98 kB / 1.024 GB, free: 1.367 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.1937, allocations: 19.61 kB / 1.024 GB, free: 1.352 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/0.1937, allocations: 55.66 kB / 1.024 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1937, allocations: 0 / 1.024 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000136/0.1939, allocations: 97.56 kB / 1.024 GB, free: 1.191 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1939, allocations: 4 kB / 1.024 GB, free: 1.188 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1939, allocations: 4 kB / 1.024 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1939, allocations: 7.938 kB / 1.024 GB, free: 1.176 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.194, allocations: 23.98 kB / 1.024 GB, free: 1.152 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.194, allocations: 0 / 1.024 GB, free: 1.152 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.194, allocations: 7.891 kB / 1.024 GB, free: 1.145 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.194, allocations: 11.98 kB / 1.024 GB, free: 1.133 MB / 0.9792 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.692e-05/0.1941, allocations: 156.6 kB / 1.024 GB, free: 0.9688 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.1942, allocations: 11.94 kB / 1.024 GB, free: 0.957 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.1944, allocations: 252.1 kB / 1.024 GB, free: 0.6992 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.1944, allocations: 7.984 kB / 1.024 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1944, allocations: 3.938 kB / 1.024 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1944, allocations: 4 kB / 1.024 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.1946, allocations: 173.1 kB / 1.025 GB, free: 500 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1946, allocations: 0 / 1.025 GB, free: 500 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.1947, allocations: 19.98 kB / 1.025 GB, free: 480 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1947, allocations: 7.938 kB / 1.025 GB, free: 472 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1947, allocations: 4 kB / 1.025 GB, free: 468 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1947, allocations: 3.984 kB / 1.025 GB, free: 464 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1947, allocations: 0 / 1.025 GB, free: 464 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1949, allocations: 319.4 kB / 1.025 GB, free: 124 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.195, allocations: 35.75 kB / 1.025 GB, free: 88 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.195, allocations: 7.938 kB / 1.025 GB, free: 80 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.195, allocations: 8 kB / 1.025 GB, free: 72 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.1951, allocations: 7.984 kB / 1.025 GB, free: 64 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1951, allocations: 7.984 kB / 1.025 GB, free: 56 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.1951, allocations: 119.2 kB / 1.025 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1951, allocations: 0 / 1.025 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007114/0.1958, allocations: 307.7 kB / 1.025 GB, free: 15.64 MB / 0.9948 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.0009956/0.1968, allocations: 451.5 kB / 1.026 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.197, allocations: 83.58 kB / 1.026 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.197, allocations: 3.938 kB / 1.026 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.197, allocations: 74.75 kB / 1.026 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.1973, allocations: 27.97 kB / 1.026 GB, free: 15 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.1979, allocations: 302.2 kB / 1.026 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.163e-05/0.198, allocations: 75.78 kB / 1.026 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.407e-05/0.1981, allocations: 28.41 kB / 1.026 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1982, allocations: 110.2 kB / 1.027 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of SimCode: time 9.21e-07/0.1982, allocations: 0 / 1.027 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of Templates: time 0.01385/0.212, allocations: 11.42 MB / 1.038 GB, free: 3.059 MB / 0.9948 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: 6.321545865852386]