Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005937/0.005937, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001307/0.001307, allocations: 192.1 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 55.91 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3582, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002481/0.3607, allocations: 1.283 MB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.3617, allocations: 0.5647 MB / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.3618, allocations: 0 / 1.21 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.3618, allocations: 3.984 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.688e-05/0.3619, allocations: 7.938 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.3624, allocations: 95.5 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.617e-05/0.3625, allocations: 27.86 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.3625, allocations: 7.938 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.795e-05/0.3625, allocations: 4 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.3626, allocations: 3.984 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3626, allocations: 4 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.3629, allocations: 139.8 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.3629, allocations: 7.922 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.363, allocations: 4 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.3632, allocations: 91.78 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3632, allocations: 0 / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3632, allocations: 0 / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3632, allocations: 4 kB / 1.21 GB, free: 7.418 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004552/0.3637, allocations: 353.5 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3637, allocations: 8.031 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004646/0.3642, allocations: 32.89 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3644, allocations: 164.3 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3644, allocations: 4.375 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3644, allocations: 4.375 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3646, allocations: 50.22 kB / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3646, allocations: 192 / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3646, allocations: 3.938 kB / 1.211 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3646, allocations: 0 / 1.211 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3648, allocations: 19.98 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.365, allocations: 165.5 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.3651, allocations: 46.52 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.3652, allocations: 16.91 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3652, allocations: 0 / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3653, allocations: 38.56 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3653, allocations: 0 / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003392/0.3656, allocations: 73.59 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3657, allocations: 55.34 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.948e-05/0.3657, allocations: 105.8 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.3658, allocations: 29.77 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.3658, allocations: 84.14 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.3658, allocations: 7.891 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.3659, allocations: 17.72 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.366, allocations: 314.8 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.3661, allocations: 8 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.3661, allocations: 11.98 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3663, allocations: 36.89 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3663, allocations: 0 / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001638/0.3665, allocations: 57.67 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3665, allocations: 4 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3665, allocations: 7.938 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3665, allocations: 4.031 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3666, allocations: 11.92 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3666, allocations: 0 / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.3667, allocations: 7.938 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3667, allocations: 0 / 1.212 GB, free: 5.484 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 6.931e-05/0.3668, allocations: 105.8 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.3668, allocations: 11.89 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.3669, allocations: 15.06 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3669, allocations: 0 / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3669, allocations: 192 / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3669, allocations: 0 / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.367, allocations: 157.7 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.367, allocations: 0 / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.3671, allocations: 7.984 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3671, allocations: 4 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3672, allocations: 3.938 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3672, allocations: 0 / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3672, allocations: 4 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3674, allocations: 93.03 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.3675, allocations: 77.11 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3675, allocations: 7.922 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.3676, allocations: 11.97 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.3676, allocations: 0 / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3676, allocations: 0 / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.3676, allocations: 79.28 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3676, allocations: 0 / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002127/0.3679, allocations: 27.92 kB / 1.212 GB, free: 4.797 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 (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 Backend phase and start with SimCode phase: time 0.0001674/0.368, allocations: 103.2 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.3682, allocations: 31.97 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3682, allocations: 0 / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.3683, allocations: 19.92 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.3686, allocations: 7.984 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.3689, allocations: 115.2 kB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.3692, allocations: 0.6767 MB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.992e-05/0.3693, allocations: 4 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.3693, allocations: 15.42 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3693, allocations: 0 / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of Templates: time 0.003107/0.3724, allocations: 0.7416 MB / 1.214 GB, free: 3.039 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches