Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 251.9 MB / 266.9 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 190.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 90.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003517, allocations: 12.64 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.433, allocations: 133.1 MB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.4334, allocations: 79.95 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006742/0.4401, allocations: 1.943 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.815e-06/0.4402, allocations: 4 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4402, allocations: 0 / 1.032 GB, free: 8.66 MB / 0.6823 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.0004688/0.4407, allocations: 371.2 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4407, allocations: 12.03 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.4411, allocations: 19.97 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4413, allocations: 171 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4413, allocations: 3.938 kB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.4413, allocations: 3.984 kB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.4416, allocations: 73.64 kB / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4416, allocations: 0 / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4416, allocations: 0 / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4416, allocations: 0 / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.4419, allocations: 67.88 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.4424, allocations: 284.7 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.4426, allocations: 58.55 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.4427, allocations: 3.938 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.4427, allocations: 38.55 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.4427, allocations: 0 / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005875/0.4433, allocations: 129.6 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.4434, allocations: 51.41 kB / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.4435, allocations: 96.95 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.4435, allocations: 25.7 kB / 1.033 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.4436, allocations: 88.12 kB / 1.033 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.4436, allocations: 7.844 kB / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.4436, allocations: 8.125 kB / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4438, allocations: 310.8 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.4439, allocations: 31.97 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.444, allocations: 35.97 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.4442, allocations: 27.97 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4442, allocations: 0 / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003207/0.4445, allocations: 101.6 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4445, allocations: 4 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4446, allocations: 0 / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4446, allocations: 0 / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.4447, allocations: 24 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.4447, allocations: 0 / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.82e-05/0.4449, allocations: 19.98 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4449, allocations: 3.953 kB / 1.034 GB, free: 6.418 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.167e-05/0.445, allocations: 109.8 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.445, allocations: 0 / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.4451, allocations: 7.125 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4451, allocations: 192 / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4451, allocations: 3.984 kB / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4451, allocations: 7.984 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.4453, allocations: 173.5 kB / 1.034 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4453, allocations: 3.938 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.4454, allocations: 15.98 kB / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4454, allocations: 0 / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.4455, allocations: 3.984 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.4455, allocations: 4 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4455, allocations: 3.938 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.4459, allocations: 200.1 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.4459, allocations: 77.11 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4459, allocations: 7.984 kB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.4461, allocations: 4 kB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.4461, allocations: 7.984 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.4461, allocations: 0 / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.4462, allocations: 87.31 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4462, allocations: 0 / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002429/0.4464, allocations: 15.98 kB / 1.035 GB, free: 5.605 MB / 0.6823 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.4467, allocations: 107.2 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.447, allocations: 71.92 kB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.447, allocations: 3.938 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.4471, allocations: 31.97 kB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.4473, allocations: 21.22 kB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.4478, allocations: 132.6 kB / 1.035 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.448, allocations: 0.677 MB / 1.036 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.628e-05/0.4482, allocations: 15.94 kB / 1.036 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.4482, allocations: 11.44 kB / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/0.4482, allocations: 0 / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of Templates: time 0.003156/0.4514, allocations: 0.696 MB / 1.036 GB, free: 3.781 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches