Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 249.5 MB / 257 MB, free: 6.91 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.001166/0.001166, allocations: 184.8 kB / 316.3 MB, free: 3.23 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.665/1.665, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001075/0.001075, allocations: 97.58 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.908e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2415, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8982/1.14, allocations: 132.3 MB / 1.014 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.14, allocations: 77.2 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003256/1.143, allocations: 0.9704 MB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.936e-06/1.143, allocations: 0 / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.143, allocations: 4 kB / 1.015 GB, free: 4.531 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.0004421/1.144, allocations: 341 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/1.144, allocations: 12.03 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/1.144, allocations: 0 / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/1.144, allocations: 171 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/1.144, allocations: 3.984 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/1.144, allocations: 0 / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.028e-05/1.144, allocations: 14.88 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.508e-05/1.144, allocations: 41.06 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.145, allocations: 0 / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/1.145, allocations: 0 / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.145, allocations: 0 / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/1.145, allocations: 225.4 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.917e-05/1.145, allocations: 25.95 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/1.145, allocations: 8.859 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/1.145, allocations: 7.438 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/1.145, allocations: 30.56 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.564e-06/1.145, allocations: 0 / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001512/1.145, allocations: 51.77 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/1.145, allocations: 51.41 kB / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/1.145, allocations: 89 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/1.145, allocations: 29.73 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/1.145, allocations: 87.52 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/1.145, allocations: 7.906 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.145, allocations: 0 / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.146, allocations: 318.8 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/1.146, allocations: 7.188 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/1.146, allocations: 0 / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/1.146, allocations: 7.938 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/1.146, allocations: 4.062 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.327e-05/1.146, allocations: 37.58 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.146, allocations: 11.98 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.146, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/1.146, allocations: 3.938 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/1.146, allocations: 8 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.146, allocations: 0 / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/1.146, allocations: 11.98 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/1.146, allocations: 4.031 kB / 1.017 GB, free: 2.797 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 7.152e-05/1.146, allocations: 108.9 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/1.146, allocations: 4.875 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/1.146, allocations: 56.12 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/1.146, allocations: 0 / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.146, allocations: 0 / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.146, allocations: 7.938 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/1.146, allocations: 137.4 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.146, allocations: 7.953 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/1.147, allocations: 15.92 kB / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.147, allocations: 0 / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/1.147, allocations: 3.938 kB / 1.017 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.147, allocations: 4 kB / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.147, allocations: 0 / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/1.147, allocations: 142.4 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/1.147, allocations: 89.09 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/1.147, allocations: 0 / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/1.147, allocations: 11.98 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/1.147, allocations: 0 / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/1.147, allocations: 0 / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.349e-05/1.147, allocations: 83.27 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.147, allocations: 0 / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002038/1.147, allocations: 4 kB / 1.018 GB, free: 2.07 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 (3): * Single equations (assignments): 3 * 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.0001182/1.147, allocations: 106.7 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.432e-05/1.147, allocations: 14.75 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.147, allocations: 0 / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/1.147, allocations: 7.188 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/1.148, allocations: 4 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/1.148, allocations: 59.31 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/1.148, allocations: 0.6807 MB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.737e-05/1.148, allocations: 7.984 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/1.148, allocations: 7.438 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of SimCode: time 1.813e-06/1.148, allocations: 4 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of Templates: time 0.002392/1.151, allocations: 387.4 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches