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.494/1.494, allocations: 249.5 MB / 257 MB, free: 7.008 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.001099/0.001099, allocations: 172.8 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009324/0.0009323, allocations: 89.56 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.266e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3031, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8231/1.126, allocations: 132.9 MB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.127, allocations: 80.06 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005606/1.132, allocations: 1.763 MB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/1.132, allocations: 0 / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.132, allocations: 0 / 1.017 GB, free: 3.309 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003245/1.133, allocations: 345.9 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.133, allocations: 8.031 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/1.133, allocations: 23.97 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/1.133, allocations: 167.9 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/1.133, allocations: 4 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/1.133, allocations: 3.938 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.467e-05/1.133, allocations: 11.81 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.584e-05/1.134, allocations: 41.67 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.134, allocations: 0 / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/1.134, allocations: 4.922 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.134, allocations: 0 / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/1.134, allocations: 144.9 kB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.125e-05/1.134, allocations: 30.17 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/1.134, allocations: 15.36 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/1.134, allocations: 0 / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.134, allocations: 42.48 kB / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/1.134, allocations: 0 / 1.018 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001621/1.134, allocations: 48.11 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/1.134, allocations: 51.41 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/1.134, allocations: 100.4 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/1.134, allocations: 29.7 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/1.134, allocations: 80.14 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/1.134, allocations: 11.83 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/1.134, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.134, allocations: 310.8 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/1.134, allocations: 7.375 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/1.135, allocations: 7.688 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/1.135, allocations: 12.05 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.135, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.121e-05/1.135, allocations: 57.08 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.135, allocations: 4 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.135, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.135, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/1.135, allocations: 7.984 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/1.135, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/1.135, allocations: 4 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/1.135, allocations: 8.016 kB / 1.018 GB, free: 1.605 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 6.962e-05/1.135, allocations: 104.4 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/1.135, allocations: 11.86 kB / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/1.135, allocations: 7.703 kB / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.135, allocations: 0 / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.135, allocations: 0 / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.135, allocations: 3.938 kB / 1.018 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.547e-05/1.135, allocations: 137.7 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.135, allocations: 0 / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/1.135, allocations: 12.17 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.135, allocations: 3.953 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/1.135, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.135, allocations: 3.984 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.135, allocations: 3.984 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/1.135, allocations: 79.12 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/1.135, allocations: 81.09 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/1.136, allocations: 7.578 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/1.136, allocations: 4 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/1.136, allocations: 0 / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/1.136, allocations: 3.984 kB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.686e-05/1.136, allocations: 82.41 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.136, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001979/1.136, allocations: 19.94 kB / 1.019 GB, free: 0.9844 MB / 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.0001814/1.136, allocations: 115.2 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.385e-05/1.136, allocations: 18.92 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.136, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/1.136, allocations: 10.88 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/1.136, allocations: 13.31 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/1.137, allocations: 54.66 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/1.137, allocations: 0.6846 MB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.357e-05/1.137, allocations: 4 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/1.137, allocations: 15.38 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.137, allocations: 0 / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of Templates: time 0.002986/1.14, allocations: 0.7013 MB / 1.02 GB, free: 15.36 MB / 0.6511 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