Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.341/1.341, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001201/0.001201, allocations: 179.1 kB / 326.5 MB, free: 2.211 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.651/1.651, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009239/0.0009239, allocations: 93.98 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 8.594 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.3648, allocations: 132.7 MB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.3651, allocations: 79.95 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005337/0.3705, allocations: 1.776 MB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3705, allocations: 4 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3705, allocations: 0 / 1.031 GB, free: 9.219 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002891/0.3708, allocations: 343.3 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3708, allocations: 8.031 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.3712, allocations: 31.95 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3713, allocations: 163 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3713, allocations: 8 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.3714, allocations: 0 / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.3715, allocations: 53.59 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3715, allocations: 0 / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3715, allocations: 0 / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.3715, allocations: 0 / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3717, allocations: 23.98 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.3719, allocations: 169.4 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.372, allocations: 42.56 kB / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.372, allocations: 4.062 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3721, allocations: 34.5 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3721, allocations: 7.938 kB / 1.032 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000278/0.3724, allocations: 69.66 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3724, allocations: 51.41 kB / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.3725, allocations: 96.98 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3725, allocations: 25.7 kB / 1.033 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.3725, allocations: 84.27 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.3726, allocations: 3.906 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.3726, allocations: 0 / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.3727, allocations: 310.8 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.3727, allocations: 19.92 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.3728, allocations: 15.98 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.3729, allocations: 15.95 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3729, allocations: 0 / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001553/0.373, allocations: 65.66 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3731, allocations: 4 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3731, allocations: 0 / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.3731, allocations: 0 / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.739e-05/0.3732, allocations: 7.984 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3732, allocations: 4 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.3733, allocations: 7.938 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.3733, allocations: 0 / 1.033 GB, free: 7.371 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 7.157e-05/0.3734, allocations: 113.8 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.3734, allocations: 3.984 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.3734, allocations: 7.125 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3734, allocations: 0 / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3734, allocations: 0 / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.3734, allocations: 8 kB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.094e-05/0.3735, allocations: 153.6 kB / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3735, allocations: 0 / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.3736, allocations: 11.92 kB / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3736, allocations: 0 / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3736, allocations: 4 kB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3736, allocations: 0 / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.3737, allocations: 4 kB / 1.033 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.3738, allocations: 81.09 kB / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.3739, allocations: 93 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3739, allocations: 3.984 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.899e-05/0.374, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.374, allocations: 4 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.374, allocations: 4 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.3741, allocations: 83.3 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3741, allocations: 0 / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001811/0.3743, allocations: 16 kB / 1.034 GB, free: 6.695 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.0001596/0.3744, allocations: 123.2 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.3746, allocations: 27.92 kB / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.3746, allocations: 64 / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.3747, allocations: 19.97 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.3748, allocations: 13.81 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3751, allocations: 121.3 kB / 1.034 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3754, allocations: 0.681 MB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.414e-05/0.3755, allocations: 4 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.3755, allocations: 19.36 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of SimCode: time 2.01e-07/0.3755, allocations: 0 / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of Templates: time 0.0025/0.378, allocations: 0.6886 MB / 1.035 GB, free: 4.953 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches