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.489/1.489, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.001156/0.001156, allocations: 178.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001112/0.001112, allocations: 82.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.383e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2611, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.866/1.127, allocations: 133 MB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.127, allocations: 77.62 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006293/1.134, allocations: 1.943 MB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.344e-06/1.134, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.134, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.6511 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.0003988/1.134, allocations: 358.3 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.134, allocations: 12.02 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/1.135, allocations: 27.41 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.135, allocations: 163 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.135, allocations: 6.812 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/1.135, allocations: 4 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/1.135, allocations: 56.53 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/1.135, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.135, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.135, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/1.135, allocations: 18.44 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/1.136, allocations: 283.3 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/1.136, allocations: 41.38 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/1.136, allocations: 19.06 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/1.136, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/1.136, allocations: 38.12 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/1.136, allocations: 0 / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002039/1.136, allocations: 55.41 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/1.136, allocations: 63.39 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/1.136, allocations: 92.5 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/1.136, allocations: 25.7 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/1.136, allocations: 80.14 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/1.136, allocations: 7.719 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/1.136, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.136, allocations: 322.8 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/1.137, allocations: 7.875 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/1.137, allocations: 11.75 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/1.137, allocations: 19.48 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.137, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/1.137, allocations: 52.44 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.137, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.137, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/1.137, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/1.137, allocations: 19.97 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.137, allocations: 32 / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.267e-05/1.137, allocations: 19.39 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/1.137, allocations: 7.922 kB / 1.025 GB, free: 14.05 MB / 0.6511 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 7.159e-05/1.137, allocations: 101 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/1.137, allocations: 4 kB / 1.025 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/1.137, allocations: 7.078 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.137, allocations: 4 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.137, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.137, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/1.137, allocations: 172.9 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.137, allocations: 3.938 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.138, allocations: 19.97 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.138, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/1.138, allocations: 4 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.138, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.138, allocations: 4 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/1.138, allocations: 158.4 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/1.138, allocations: 81.11 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/1.138, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/1.138, allocations: 11.98 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/1.138, allocations: 32 / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/1.138, allocations: 7.984 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.337e-05/1.138, allocations: 82.91 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.138, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002191/1.138, allocations: 16 kB / 1.026 GB, free: 13.32 MB / 0.6511 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.0001901/1.139, allocations: 116.3 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001024/1.139, allocations: 30.36 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.139, allocations: 0 / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/1.139, allocations: 15.5 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/1.139, allocations: 7.891 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/1.139, allocations: 84.22 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/1.14, allocations: 0.6809 MB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.981e-05/1.14, allocations: 8.062 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/1.14, allocations: 15.42 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.613e-06/1.14, allocations: 0 / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.00308/1.143, allocations: 0.6972 MB / 1.028 GB, free: 11.64 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