Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 185 kB / 498.1 MB, free: 5.723 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008829/0.0008828, allocations: 102.1 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 7.406 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3084, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.4955, allocations: 149.7 MB / 1.369 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.4959, allocations: 79.95 kB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003298/0.4992, allocations: 0.9911 MB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4993, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.4993, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 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.0004699/0.4998, allocations: 355.2 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.319e-05/0.4999, allocations: 8.031 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.5, allocations: 7.984 kB / 1.37 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.5002, allocations: 167 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.5002, allocations: 0 / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.5002, allocations: 4 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.5004, allocations: 57.67 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5004, allocations: 0 / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5005, allocations: 0 / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.5005, allocations: 0 / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.5007, allocations: 47.95 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.5011, allocations: 248.9 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.5013, allocations: 46.53 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.5013, allocations: 4 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.5013, allocations: 34.56 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.5014, allocations: 0 / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004116/0.5018, allocations: 93.8 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.5018, allocations: 59.34 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.5019, allocations: 93 kB / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.5019, allocations: 25.7 kB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.502, allocations: 88.03 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.502, allocations: 7.938 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.5021, allocations: 0 / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5022, allocations: 322.8 kB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.5023, allocations: 15.98 kB / 1.372 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-05/0.5024, allocations: 27.97 kB / 1.372 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/0.5025, allocations: 20.05 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5025, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.5027, allocations: 81.56 kB / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5027, allocations: 8 kB / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5027, allocations: 32 / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5028, allocations: 4 kB / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.5029, allocations: 11.94 kB / 1.372 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5029, allocations: 0 / 1.372 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.5029, allocations: 11.98 kB / 1.372 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.503, allocations: 4 kB / 1.372 GB, free: 9.305 MB / 0.8698 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 9.204e-05/0.5031, allocations: 109.8 kB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.5031, allocations: 8 kB / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.5033, allocations: 84.77 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5034, allocations: 0 / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5034, allocations: 0 / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5034, allocations: 4 kB / 1.372 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.5036, allocations: 173.5 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5036, allocations: 0 / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.5037, allocations: 11.98 kB / 1.372 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.5037, allocations: 240 / 1.372 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.5037, allocations: 0 / 1.372 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5037, allocations: 7.938 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5037, allocations: 0 / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.504, allocations: 187.4 kB / 1.372 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.504, allocations: 81.05 kB / 1.373 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.504, allocations: 0 / 1.373 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/0.5041, allocations: 11.98 kB / 1.373 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.5042, allocations: 4 kB / 1.373 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.5042, allocations: 0 / 1.373 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.5043, allocations: 87.27 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.984e-06/0.5043, allocations: 0 / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002121/0.5045, allocations: 7.938 kB / 1.373 GB, free: 8.441 MB / 0.8698 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 (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.0001371/0.5046, allocations: 99.03 kB / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.5049, allocations: 55.89 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5049, allocations: 0 / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.505, allocations: 27.98 kB / 1.373 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.5052, allocations: 5.328 kB / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.5056, allocations: 132.7 kB / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.5059, allocations: 0.6809 MB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.506, allocations: 0 / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.506, allocations: 7.438 kB / 1.374 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of SimCode: time 1.763e-06/0.506, allocations: 4 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of Templates: time 0.002425/0.5084, allocations: 419.8 kB / 1.374 GB, free: 6.965 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches