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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008194/0.008194, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001949/0.001949, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 68.12 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3673, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002747/0.3701, allocations: 1.421 MB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005543/0.3707, allocations: 179.5 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.3707, allocations: 0 / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.3708, allocations: 7.922 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.3708, allocations: 11.92 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3711, allocations: 27.92 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.728e-05/0.3712, allocations: 19.92 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3713, allocations: 11.98 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.753e-05/0.3714, allocations: 11.92 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.3714, allocations: 15.92 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.3715, allocations: 4 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3716, allocations: 23.98 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.3716, allocations: 4 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.3716, allocations: 3.938 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.3718, allocations: 35.95 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3718, allocations: 7.984 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3718, allocations: 0 / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3718, allocations: 0 / 1.209 GB, free: 7.879 MB / 0.9669 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.0004771/0.3723, allocations: 347.3 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3723, allocations: 8.031 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.3725, allocations: 4.938 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3726, allocations: 160.4 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3726, allocations: 384 / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3727, allocations: 8.312 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3728, allocations: 50.23 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3729, allocations: 4.188 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3729, allocations: 3.938 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3729, allocations: 0 / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.373, allocations: 31.95 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.3734, allocations: 256.8 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3736, allocations: 46.47 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.3737, allocations: 20.91 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3737, allocations: 0 / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3737, allocations: 34.56 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3737, allocations: 0 / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003512/0.3741, allocations: 81.64 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.3741, allocations: 55.41 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.3742, allocations: 105.7 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3743, allocations: 29.7 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.3743, allocations: 80.14 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.3743, allocations: 3.906 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3744, allocations: 17.84 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3745, allocations: 318.8 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.3746, allocations: 15.98 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.3747, allocations: 15.98 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.3748, allocations: 40.89 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3748, allocations: 4 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00017/0.375, allocations: 65.59 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.375, allocations: 9.406 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.3751, allocations: 0 / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3751, allocations: 3.938 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.3752, allocations: 7.984 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.3752, allocations: 4 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.3752, allocations: 8.016 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3752, allocations: 7.938 kB / 1.211 GB, free: 5.84 MB / 0.9669 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 0.0001261/0.3754, allocations: 117.8 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.3754, allocations: 192 / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.3756, allocations: 80.75 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3757, allocations: 4 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3757, allocations: 4 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3757, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.3758, allocations: 161.5 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3758, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.3759, allocations: 15.92 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3759, allocations: 0 / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3759, allocations: 0 / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3759, allocations: 0 / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3759, allocations: 0 / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.3762, allocations: 175.4 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.3762, allocations: 77.11 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.3762, allocations: 0 / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.3763, allocations: 7.984 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.3764, allocations: 8 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.3764, allocations: 0 / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.3764, allocations: 79.28 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3764, allocations: 4 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002172/0.3767, allocations: 4 kB / 1.212 GB, free: 5.02 MB / 0.9669 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.0001204/0.3768, allocations: 99.23 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.3771, allocations: 43.91 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3771, allocations: 3.938 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.3772, allocations: 24.03 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3775, allocations: 14 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.3778, allocations: 122.4 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.3783, allocations: 0.6845 MB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.3783, allocations: 0 / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.3783, allocations: 7.438 kB / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3783, allocations: 4 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of Templates: time 0.002711/0.3811, allocations: 0.5006 MB / 1.213 GB, free: 3.461 MB / 0.9669 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches