Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007866/0.007866, allocations: 99.52 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 200.8 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3454, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002974/0.3484, allocations: 1.408 MB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006/0.349, allocations: 207.4 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.3491, allocations: 0 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.3492, allocations: 4 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.3493, allocations: 3.938 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3495, allocations: 23.89 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.828e-05/0.3496, allocations: 31.86 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3497, allocations: 4 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.3498, allocations: 11.98 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.3498, allocations: 7.938 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3499, allocations: 4 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.35, allocations: 27.97 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.35, allocations: 7.984 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.35, allocations: 11.94 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.3502, allocations: 35.84 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3502, allocations: 3.938 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3502, allocations: 0 / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3502, allocations: 0 / 1.168 GB, free: 5.008 MB / 0.92 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.0004845/0.3507, allocations: 339.4 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3508, allocations: 8.031 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.3509, allocations: 12.88 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.351, allocations: 168.4 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3511, allocations: 384 / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3511, allocations: 384 / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3513, allocations: 50.23 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3513, allocations: 4.125 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3513, allocations: 3.938 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3513, allocations: 0 / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.3515, allocations: 39.95 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.3519, allocations: 241 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.352, allocations: 38.5 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.3521, allocations: 28.89 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3521, allocations: 3.984 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.3522, allocations: 42.44 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.3522, allocations: 0 / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003563/0.3525, allocations: 85.59 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.3526, allocations: 51.41 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.3527, allocations: 93.86 kB / 1.169 GB, free: 3.629 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3527, allocations: 29.83 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.3527, allocations: 92.12 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3528, allocations: 7.891 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3528, allocations: 9.719 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3529, allocations: 318.8 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.353, allocations: 15.97 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.3531, allocations: 19.92 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3533, allocations: 40.89 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3533, allocations: 0 / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001935/0.3535, allocations: 69.59 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3535, allocations: 4 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3535, allocations: 3.984 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3535, allocations: 192 / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.3536, allocations: 16.02 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3536, allocations: 0 / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.3537, allocations: 7.984 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3537, allocations: 0 / 1.17 GB, free: 2.973 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.956e-05/0.3538, allocations: 117.7 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.3538, allocations: 7.984 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.3541, allocations: 80.72 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3541, allocations: 3.984 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3541, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.3541, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.3543, allocations: 157.6 kB / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3543, allocations: 0 / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.3544, allocations: 11.98 kB / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3544, allocations: 0 / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.3544, allocations: 4 kB / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3544, allocations: 8 kB / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3544, allocations: 0 / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.3547, allocations: 171.3 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3547, allocations: 89.03 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3548, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.3548, allocations: 4 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.3549, allocations: 7.984 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.3549, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.3549, allocations: 83.28 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.355, allocations: 0 / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002206/0.3552, allocations: 4 kB / 1.171 GB, free: 2.137 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.3553, allocations: 99.25 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.3556, allocations: 43.89 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3556, allocations: 4.062 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.3557, allocations: 23.98 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.356, allocations: 7.922 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.3564, allocations: 118.5 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.3567, allocations: 0.6768 MB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.3567, allocations: 8 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.3568, allocations: 7.438 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/0.3568, allocations: 0 / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of Templates: time 0.002999/0.3598, allocations: 0.4979 MB / 1.172 GB, free: 0.5977 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches