Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.0008117/0.0008117, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.000919/0.000919, allocations: 165 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.034/1.034, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.83/1.83, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] 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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.606e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001623/0.001639, allocations: 1.462 MB / 0.8129 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003472/0.001986, allocations: 224.9 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.00201, allocations: 0 / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.002035, allocations: 0 / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.089e-05/0.002076, allocations: 7.938 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.002264, allocations: 33.02 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.838e-05/0.002323, allocations: 23.88 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 6.999e-05/0.002393, allocations: 5.578 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.00245, allocations: 15.98 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.057e-05/0.00248, allocations: 11.98 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.002492, allocations: 0 / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.002569, allocations: 27.98 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.002586, allocations: 8.641 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.002601, allocations: 4 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.002706, allocations: 44.36 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.002708, allocations: 1.656 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002708, allocations: 3.938 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002712, allocations: 0 / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002995/0.003012, allocations: 364.6 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.003043, allocations: 8.688 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.003178, allocations: 13.89 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.444e-05/0.003252, allocations: 116.6 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.003261, allocations: 4.312 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.00327, allocations: 5.531 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.99e-05/0.00337, allocations: 54.94 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.003378, allocations: 4.188 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003385, allocations: 1.75 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.003391, allocations: 384 / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.003418, allocations: 7.938 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.003681, allocations: 261.4 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.003726, allocations: 27.06 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.003748, allocations: 7.688 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.003759, allocations: 4.062 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.003777, allocations: 35.36 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.003778, allocations: 0 / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001224/0.003901, allocations: 49.56 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.003926, allocations: 55.41 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/0.003991, allocations: 157.9 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.003999, allocations: 26.36 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.004038, allocations: 133.3 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.004053, allocations: 3.953 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.004078, allocations: 23.38 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.00418, allocations: 492.1 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.004194, allocations: 4 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-06/0.004201, allocations: 0 / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/0.004227, allocations: 21.52 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.004228, allocations: 0 / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.895e-05/0.004277, allocations: 37.64 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.004289, allocations: 8 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004294, allocations: 4.469 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.004304, allocations: 0.5625 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.029e-05/0.004354, allocations: 7.984 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.004358, allocations: 1.812 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.004377, allocations: 7.953 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.004381, allocations: 0 / 0.8152 GB, free: 13.79 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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 5.54e-05/0.004436, allocations: 160.6 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.00445, allocations: 2.562 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.00453, allocations: 56.86 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.004531, allocations: 3.938 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.004533, allocations: 0 / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.004536, allocations: 4 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.027e-05/0.004616, allocations: 116.6 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.004618, allocations: 5.109 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.004641, allocations: 4 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.004643, allocations: 0.9844 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.004649, allocations: 4 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.004651, allocations: 8.531 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004652, allocations: 0 / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.455e-05/0.004737, allocations: 196.7 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-06/0.004742, allocations: 3.953 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.004751, allocations: 7.688 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.107e-05/0.004782, allocations: 7.922 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.00481, allocations: 4 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.004812, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.199e-05/0.004844, allocations: 127.2 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004844, allocations: 0 / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001344/0.004979, allocations: 7.984 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 5.749e-05/0.005036, allocations: 95.25 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.77e-05/0.005104, allocations: 17.62 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005105, allocations: 0 / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-05/0.005126, allocations: 23.61 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.005286, allocations: 4 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.005645, allocations: 124.4 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.223e-05/0.005677, allocations: 59.34 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.908e-05/0.005696, allocations: 1.125 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.00572, allocations: 13.59 kB / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.005721, allocations: 0 / 0.8162 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.001951/0.007671, allocations: 0.6851 MB / 0.8169 GB, free: 11.97 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.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: 4.982235805131495]