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.536/1.536, allocations: 249.5 MB / 257 MB, free: 6.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 172.9 kB / 316.3 MB, free: 3.316 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.871/1.871, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001074/0.001074, allocations: 92.7 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.757e-05, allocations: 0 / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2726, allocations: 106.3 MB / 0.8852 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9053/1.178, allocations: 133.3 MB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/1.178, allocations: 82.02 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007213/1.186, allocations: 1.931 MB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.735e-06/1.186, allocations: 3.938 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.012e-05/1.186, allocations: 0 / 1.017 GB, free: 2.832 MB / 0.6355 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.0005652/1.186, allocations: 362.1 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/1.186, allocations: 8.031 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/1.187, allocations: 23.97 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/1.187, allocations: 171 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/1.187, allocations: 0 / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/1.187, allocations: 0 / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/1.187, allocations: 23.69 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/1.187, allocations: 49.59 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.187, allocations: 3.938 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/1.187, allocations: 0 / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.187, allocations: 0 / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/1.188, allocations: 260.6 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/1.188, allocations: 34.08 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/1.188, allocations: 17.61 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/1.188, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/1.188, allocations: 37.28 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.188, allocations: 0 / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002194/1.188, allocations: 57.25 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.188, allocations: 51.41 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/1.188, allocations: 93.03 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/1.188, allocations: 25.7 kB / 1.019 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/1.189, allocations: 87.95 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/1.189, allocations: 7.891 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/1.189, allocations: 4 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.189, allocations: 314.8 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/1.189, allocations: 7.938 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/1.189, allocations: 7.875 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/1.189, allocations: 19.98 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.189, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.113e-05/1.189, allocations: 49.44 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.189, allocations: 8 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/1.189, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.189, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/1.189, allocations: 23.91 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.189, allocations: 0 / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.659e-05/1.189, allocations: 16.02 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/1.189, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.6355 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 () * 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.331e-05/1.189, allocations: 107.5 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/1.189, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/1.19, allocations: 16.08 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.19, allocations: 3.938 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.19, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/1.19, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/1.19, allocations: 154.5 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.19, allocations: 1.062 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/1.19, allocations: 11.98 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.19, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/1.19, allocations: 7.984 kB / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.19, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.19, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/1.19, allocations: 169.1 kB / 1.019 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/1.19, allocations: 78.98 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/1.19, allocations: 0 / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/1.19, allocations: 11.98 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/1.19, allocations: 0 / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/1.19, allocations: 7.984 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.713e-05/1.19, allocations: 79.31 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.19, allocations: 0 / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000252/1.191, allocations: 16 kB / 1.02 GB, free: 280 kB / 0.6355 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 () * 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.0002129/1.191, allocations: 111.2 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001084/1.191, allocations: 35.42 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.191, allocations: 0 / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/1.191, allocations: 11.75 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/1.191, allocations: 8.078 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/1.192, allocations: 75.73 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/1.192, allocations: 0.6768 MB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.815e-05/1.192, allocations: 8 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/1.192, allocations: 15.36 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.192, allocations: 4 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.00288/1.195, allocations: 0.6761 MB / 1.021 GB, free: 14.62 MB / 0.6511 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