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.419/1.419, allocations: 249.3 MB / 261.8 MB, free: 5.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.001291/0.001291, allocations: 172.6 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.118/2.118, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.001227/0.001227, allocations: 90.53 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.702e-05/4.703e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2576, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8659/1.124, allocations: 132.1 MB / 1.021 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/1.124, allocations: 79.88 kB / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003067/1.127, allocations: 0.9767 MB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.595e-06/1.127, allocations: 0 / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.127, allocations: 0 / 1.022 GB, free: 1.715 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.0003954/1.127, allocations: 342.4 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.127, allocations: 8.031 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/1.128, allocations: 11.3 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/1.128, allocations: 171 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/1.128, allocations: 0 / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/1.128, allocations: 0 / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/1.128, allocations: 41.31 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/1.128, allocations: 0 / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/1.128, allocations: 4 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.128, allocations: 0 / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/1.128, allocations: 11.25 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/1.128, allocations: 248 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.925e-05/1.128, allocations: 30.55 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/1.128, allocations: 16.67 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/1.129, allocations: 0 / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/1.129, allocations: 33.16 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.038e-06/1.129, allocations: 3.938 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001658/1.129, allocations: 47.41 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.129, allocations: 51.41 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/1.129, allocations: 96.36 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/1.129, allocations: 29.73 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/1.129, allocations: 88.06 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/1.129, allocations: 11.78 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/1.129, allocations: 0 / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.129, allocations: 314.8 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/1.129, allocations: 7.438 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/1.129, allocations: 4 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/1.129, allocations: 3.984 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.129, allocations: 4.062 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.8e-05/1.129, allocations: 45.27 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.129, allocations: 4 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.129, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.129, allocations: 4 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/1.13, allocations: 15.36 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.13, allocations: 3.938 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/1.13, allocations: 12.02 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/1.13, allocations: 4 kB / 1.023 GB, free: 15.93 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 8.909e-05/1.13, allocations: 104.9 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/1.13, allocations: 0 / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/1.13, allocations: 59.83 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/1.13, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.13, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.13, allocations: 3.938 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/1.13, allocations: 169.4 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.13, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/1.13, allocations: 11.98 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.13, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.13, allocations: 4 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.13, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.13, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/1.131, allocations: 154 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/1.131, allocations: 77.11 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/1.131, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/1.131, allocations: 11.92 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/1.131, allocations: 4 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/1.131, allocations: 0.875 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.017e-05/1.131, allocations: 79.56 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.131, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001897/1.131, allocations: 7.812 kB / 1.024 GB, free: 15.18 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 (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.0001627/1.131, allocations: 103.4 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.611e-05/1.131, allocations: 18.86 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.131, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/1.131, allocations: 7.438 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.132, allocations: 7.953 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/1.132, allocations: 65.88 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.132, allocations: 0.6848 MB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.602e-05/1.132, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/1.132, allocations: 15.38 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/1.132, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.002362/1.134, allocations: 424.5 kB / 1.025 GB, free: 13.83 MB / 0.6511 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