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.0008025/0.0008025, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.0009126/0.0009126, allocations: 161 kB / 24.17 MB, free: 332 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 0.9104/0.9104, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.85/1.85, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.493e-06/1.493e-06, allocations: 0 / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.778e-05, allocations: 4.844 kB / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002417/0.002434, allocations: 1.48 MB / 0.7614 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004602/0.002895, allocations: 230.3 kB / 0.7617 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.00292, allocations: 0 / 0.7617 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.002943, allocations: 5.344 kB / 0.7617 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.002991, allocations: 3.391 kB / 0.7617 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.00319, allocations: 34.73 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.751e-05/0.003258, allocations: 21.36 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.409e-05/0.003322, allocations: 9.547 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.383e-05/0.003375, allocations: 8.984 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.003415, allocations: 9.297 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.003427, allocations: 0 / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.00351, allocations: 33.56 kB / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.003528, allocations: 9.188 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.003544, allocations: 4.875 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.003655, allocations: 36.88 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.003656, allocations: 4.656 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003657, allocations: 0.7656 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.00366, allocations: 1.312 kB / 0.7618 GB, free: 4.832 MB / 0.7136 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.0002702/0.00393, allocations: 232.9 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.003964, allocations: 16.02 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.004108, allocations: 11.09 kB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.177e-05/0.004189, allocations: 113.7 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.004199, allocations: 4.359 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.004209, allocations: 1.625 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.366e-05/0.004303, allocations: 54.95 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.004309, allocations: 192 / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.004315, allocations: 1.625 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.004322, allocations: 4.375 kB / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.004346, allocations: 5.031 kB / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.004542, allocations: 149.1 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.319e-05/0.004586, allocations: 22.52 kB / 0.7624 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.0046, allocations: 9.438 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.004612, allocations: 5.016 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.004635, allocations: 34.62 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.004636, allocations: 0 / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001076/0.004744, allocations: 42.53 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.004774, allocations: 56.56 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.028e-05/0.004834, allocations: 106.7 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.004848, allocations: 26.36 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.004877, allocations: 88.09 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.004891, allocations: 4.609 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.004921, allocations: 18.47 kB / 0.7628 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.00501, allocations: 318.8 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-06/0.005019, allocations: 0.75 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-06/0.005029, allocations: 4.438 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.005052, allocations: 10.83 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005054, allocations: 0 / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.425e-05/0.005108, allocations: 41.62 kB / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.005119, allocations: 10.28 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.005122, allocations: 0.5312 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.005132, allocations: 1.438 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.005181, allocations: 11.92 kB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.005184, allocations: 4 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.005205, allocations: 0 / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.005209, allocations: 3.25 kB / 0.7632 GB, free: 3.309 MB / 0.7136 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 6.082e-05/0.00527, allocations: 109.8 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.00529, allocations: 0 / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.005363, allocations: 48.98 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005365, allocations: 0 / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.005367, allocations: 3.938 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.005372, allocations: 7.938 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.005485, allocations: 68.94 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005486, allocations: 0 / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.005515, allocations: 7.984 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.005517, allocations: 0 / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.005523, allocations: 4 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.005524, allocations: 0 / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005525, allocations: 0 / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.005607, allocations: 139.5 kB / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.005615, allocations: 5.5 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.005624, allocations: 0 / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.005677, allocations: 7.984 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.005703, allocations: 0 / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.005706, allocations: 1.406 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.306e-05/0.005719, allocations: 12.8 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.005719, allocations: 3.938 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002066/0.005925, allocations: 4 kB / 0.7636 GB, free: 2.848 MB / 0.7136 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 7.971e-05/0.006005, allocations: 85.69 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.584e-05/0.006061, allocations: 13.52 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.006064, allocations: 4 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.006081, allocations: 9.484 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.006255, allocations: 8.641 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.006633, allocations: 134.2 kB / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.00667, allocations: 57.78 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.006692, allocations: 7.938 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.006747, allocations: 51.38 kB / 0.7639 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.006747, allocations: 3.031 kB / 0.7639 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of Templates: time 0.002311/0.009058, allocations: 0.6381 MB / 0.7646 GB, free: 1.816 MB / 0.7136 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.658805022016168]