Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006692/0.006691, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001569/0.001569, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.788/2.788, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.36 kB / 0.899 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3374, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003137/0.3406, allocations: 1.467 MB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3418, allocations: 0.6076 MB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.3418, allocations: 0 / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.3418, allocations: 0 / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.3419, allocations: 11.92 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.3423, allocations: 79.7 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.3424, allocations: 27.92 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.3425, allocations: 7.938 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.3426, allocations: 8 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.3426, allocations: 11.92 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.3426, allocations: 0 / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.3429, allocations: 151.7 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.343, allocations: 8 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.343, allocations: 7.922 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.3432, allocations: 72.14 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3432, allocations: 4 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.3432, allocations: 0 / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.3432, allocations: 0 / 1.055 GB, free: 5.879 MB / 0.8106 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.0004756/0.3437, allocations: 363.4 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3437, allocations: 12.03 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004295/0.3442, allocations: 28.81 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3443, allocations: 168.3 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3443, allocations: 384 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.3443, allocations: 4.375 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.3446, allocations: 74.19 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3446, allocations: 192 / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3446, allocations: 3.938 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3446, allocations: 0 / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.3449, allocations: 55.94 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.3453, allocations: 264.8 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.3456, allocations: 66.41 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3457, allocations: 40.88 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3458, allocations: 3.984 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3458, allocations: 30.56 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3458, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004987/0.3463, allocations: 117.5 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3463, allocations: 55.41 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.3464, allocations: 97.86 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3464, allocations: 25.7 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.3465, allocations: 96.09 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3465, allocations: 4 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.3466, allocations: 13.72 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3467, allocations: 314.8 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3468, allocations: 27.97 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3469, allocations: 23.98 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.3472, allocations: 60.8 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3472, allocations: 0 / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002931/0.3475, allocations: 97.48 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3475, allocations: 11.98 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3475, allocations: 3.938 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3475, allocations: 3.938 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.3477, allocations: 11.98 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3477, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.3478, allocations: 7.984 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.3478, allocations: 8.031 kB / 1.057 GB, free: 3.598 MB / 0.8106 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 8.393e-05/0.3479, allocations: 109.8 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.3479, allocations: 4 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.348, allocations: 11.11 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.348, allocations: 0 / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.348, allocations: 0 / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.348, allocations: 0 / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3482, allocations: 173.6 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3482, allocations: 0 / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.3483, allocations: 15.98 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3483, allocations: 0 / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3483, allocations: 3.984 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3483, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3483, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.3487, allocations: 187.4 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.3487, allocations: 81.02 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3487, allocations: 11.98 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3489, allocations: 4 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.3489, allocations: 7.984 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3489, allocations: 0 / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.349, allocations: 83.31 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.349, allocations: 0 / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002378/0.3492, allocations: 8 kB / 1.058 GB, free: 2.82 MB / 0.8106 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.0001759/0.3494, allocations: 115.2 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.3497, allocations: 63.94 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3497, allocations: 0 / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.3499, allocations: 35.89 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3502, allocations: 7.938 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.3507, allocations: 162.1 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.351, allocations: 0.677 MB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.351, allocations: 15.42 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of SimCode: time 7.91e-07/0.351, allocations: 0 / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of Templates: time 0.002459/0.3535, allocations: 0.8903 MB / 1.06 GB, free: 0.793 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches