Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.357/2.357, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001474/0.001474, allocations: 187.3 kB / 0.4902 GB, free: 2.227 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.49/1.49, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009132/0.0009131, allocations: 104.1 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 11.97 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3505, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.5535, allocations: 150.5 MB / 1.376 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5538, allocations: 75.95 kB / 1.376 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003163/0.557, allocations: 0.9888 MB / 1.377 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.979e-06/0.557, allocations: 0 / 1.377 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.557, allocations: 3.938 kB / 1.377 GB, free: 1.957 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.0004428/0.5575, allocations: 339.3 kB / 1.378 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.5575, allocations: 12.56 kB / 1.378 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.5577, allocations: 3.906 kB / 1.378 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.5579, allocations: 171 kB / 1.378 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.5579, allocations: 0 / 1.378 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.5579, allocations: 3.938 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.5581, allocations: 53.67 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5582, allocations: 0 / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5582, allocations: 0 / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.5582, allocations: 4 kB / 1.378 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.5584, allocations: 47.95 kB / 1.378 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.5588, allocations: 252.8 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.559, allocations: 50.53 kB / 1.378 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.559, allocations: 0 / 1.378 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.559, allocations: 30.56 kB / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.559, allocations: 4.062 kB / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003723/0.5594, allocations: 97.64 kB / 1.378 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.5595, allocations: 51.41 kB / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.303e-05/0.5596, allocations: 96.98 kB / 1.378 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.5596, allocations: 29.64 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.5597, allocations: 88.25 kB / 1.378 GB, free: 464 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.5597, allocations: 7.906 kB / 1.379 GB, free: 456 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.5597, allocations: 0 / 1.379 GB, free: 456 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5599, allocations: 318.8 kB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.407e-05/0.56, allocations: 19.98 kB / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.56, allocations: 23.98 kB / 1.379 GB, free: 84 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.13e-05/0.5601, allocations: 23.97 kB / 1.379 GB, free: 60 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5601, allocations: 0 / 1.379 GB, free: 60 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002291/0.5604, allocations: 73.94 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5604, allocations: 4 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5604, allocations: 3.984 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.5604, allocations: 4 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.5605, allocations: 11.94 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5606, allocations: 4 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.5606, allocations: 15.95 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.5607, allocations: 0 / 1.379 GB, free: 15.94 MB / 0.8855 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 8.919e-05/0.5607, allocations: 117.7 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.5608, allocations: 3.906 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.5611, allocations: 88.77 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5611, allocations: 4 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5611, allocations: 0 / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5611, allocations: 0 / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.5613, allocations: 161.6 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5613, allocations: 0 / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-05/0.5614, allocations: 12 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5614, allocations: 0 / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.5614, allocations: 7.984 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5614, allocations: 4 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5614, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.5617, allocations: 179.4 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.5618, allocations: 81.11 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.5618, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.5619, allocations: 11.98 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.562, allocations: 3.938 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.562, allocations: 4 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.151e-05/0.562, allocations: 79.27 kB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.562, allocations: 0 / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002147/0.5623, allocations: 15.91 kB / 1.38 GB, free: 15.08 MB / 0.8855 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.0001597/0.5624, allocations: 100 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.5627, allocations: 47.91 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5627, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.153e-05/0.5628, allocations: 32.03 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.563, allocations: 9.078 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.5634, allocations: 128.5 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.5637, allocations: 0.6848 MB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.5638, allocations: 4 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.5638, allocations: 11.44 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of SimCode: time 5.81e-07/0.5638, allocations: 0 / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of Templates: time 0.002877/0.5667, allocations: 415.7 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches