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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.002192/0.002192, allocations: 183 kB / 17.34 MB, free: 5.766 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9616/0.9631, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002573/0.9657, allocations: 1.399 MB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004292/0.9661, allocations: 207 kB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.9662, allocations: 0 / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.9662, allocations: 9.031 kB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.962e-05/0.9663, allocations: 4.547 kB / 1.09 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.9665, allocations: 23.69 kB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.9666, allocations: 21.58 kB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.9667, allocations: 8.406 kB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.9668, allocations: 4.938 kB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.166e-05/0.9668, allocations: 14.16 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.9668, allocations: 2.875 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.116e-05/0.9669, allocations: 32.11 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.9669, allocations: 9.719 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.967, allocations: 12.42 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.9671, allocations: 29.45 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9671, allocations: 0 / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9671, allocations: 0.9375 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.9671, allocations: 0.6562 kB / 1.09 GB, free: 4.613 MB / 0.8575 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.0003559/0.9675, allocations: 340.7 kB / 1.091 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.9675, allocations: 8.594 kB / 1.091 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.9676, allocations: 8.516 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.276e-05/0.9677, allocations: 176.6 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.9677, allocations: 384 / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.9678, allocations: 1.375 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.9679, allocations: 53.64 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.9679, allocations: 192 / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.9679, allocations: 5.562 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.968, allocations: 0 / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.9681, allocations: 37.59 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.9685, allocations: 255.1 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.9686, allocations: 40.59 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.9687, allocations: 24.06 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.9687, allocations: 0 / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.9687, allocations: 36.7 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.9687, allocations: 0 / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000357/0.9691, allocations: 83.98 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.9691, allocations: 51.41 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.9692, allocations: 102.2 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.9692, allocations: 33.77 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.9693, allocations: 85.95 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.9693, allocations: 1.828 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.9693, allocations: 16.89 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.9694, allocations: 312.1 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.9695, allocations: 13.91 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.9695, allocations: 19.19 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.9697, allocations: 41.59 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9697, allocations: 0 / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001946/0.9699, allocations: 74.59 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.9699, allocations: 8.969 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.9699, allocations: 0 / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.97, allocations: 0 / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.9701, allocations: 13.67 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9701, allocations: 0 / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.9701, allocations: 7.375 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.9701, allocations: 4 kB / 1.092 GB, free: 2.887 MB / 0.8575 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 5.514e-05/0.9702, allocations: 116.7 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.9702, allocations: 1.578 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.9705, allocations: 78.86 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.9705, allocations: 4.719 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.9705, allocations: 0.6094 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.9705, allocations: 0.9688 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.9707, allocations: 161.2 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9707, allocations: 0 / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/0.9708, allocations: 14.58 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.9708, allocations: 0.8438 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.9708, allocations: 0 / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.9708, allocations: 5.297 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9708, allocations: 0 / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.971, allocations: 166.5 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.9711, allocations: 87.22 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.9711, allocations: 5.469 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.9712, allocations: 6.234 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.9712, allocations: 7 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.9712, allocations: 4.562 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.9713, allocations: 87.94 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9713, allocations: 0 / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002241/0.9715, allocations: 4.938 kB / 1.093 GB, free: 2.176 MB / 0.8575 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.0001188/0.9716, allocations: 102.1 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.9719, allocations: 41.05 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9719, allocations: 0 / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.176e-05/0.972, allocations: 22.53 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.9723, allocations: 7.219 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.9726, allocations: 146.4 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.9727, allocations: 0.677 MB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.9727, allocations: 9.344 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.9727, allocations: 4.062 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of Templates: time 0.002077/0.9748, allocations: 0.5761 MB / 1.094 GB, free: 1.188 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches