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.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.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.0009145/0.0009145, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006973/0.006973, allocations: 169 kB / 16.26 MB, free: 6.652 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.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.981/2.981, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 8.781 kB / 0.9028 GB, free: 36.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3284, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001492/0.33, allocations: 1.135 MB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009906/0.331, allocations: 0.6038 MB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.331, allocations: 0 / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.331, allocations: 0 / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.3311, allocations: 4 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.3314, allocations: 91.62 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.3315, allocations: 23.86 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.3316, allocations: 8 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.3316, allocations: 4 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.3317, allocations: 11.92 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.3317, allocations: 0 / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.3319, allocations: 151.7 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-06/0.332, allocations: 0 / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.332, allocations: 41.62 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3322, allocations: 100 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3322, allocations: 0 / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.446e-06/0.3322, allocations: 0 / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.3322, allocations: 3.938 kB / 1.061 GB, free: 3.312 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.0004403/0.3327, allocations: 367.4 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3327, allocations: 8.031 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/0.3331, allocations: 28.91 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3332, allocations: 168.3 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.3333, allocations: 384 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3333, allocations: 4.359 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.3335, allocations: 74.2 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3335, allocations: 192 / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3336, allocations: 7.938 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3336, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.3339, allocations: 63.94 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.3343, allocations: 280.7 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.3346, allocations: 62.48 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3347, allocations: 36.89 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3348, allocations: 0 / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3348, allocations: 34.56 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3348, allocations: 0 / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005492/0.3353, allocations: 137.6 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3354, allocations: 51.41 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.3355, allocations: 97.86 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3355, allocations: 25.7 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.3355, allocations: 92.05 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3356, allocations: 15.84 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.3356, allocations: 9.719 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3357, allocations: 310.8 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3359, allocations: 39.94 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.336, allocations: 31.97 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.3363, allocations: 72.86 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3363, allocations: 0 / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003334/0.3366, allocations: 101.5 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3367, allocations: 8 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3367, allocations: 0 / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3367, allocations: 0 / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.3368, allocations: 20.02 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3368, allocations: 3.984 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.731e-05/0.3369, allocations: 11.91 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.337, allocations: 3.984 kB / 1.063 GB, free: 0.9609 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 7.102e-05/0.337, allocations: 111.3 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.3371, allocations: 4 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.3371, allocations: 11.12 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3371, allocations: 192 / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3371, allocations: 4 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.3371, allocations: 3.984 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3373, allocations: 165.6 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3373, allocations: 0 / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.3374, allocations: 23.97 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3375, allocations: 4 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3375, allocations: 0 / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3375, allocations: 3.938 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3375, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.3379, allocations: 195.4 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.3379, allocations: 77.11 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3379, allocations: 0 / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3381, allocations: 15.98 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.3381, allocations: 4 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.3381, allocations: 8.016 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.3382, allocations: 79.28 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3382, allocations: 3.938 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000243/0.3384, allocations: 8 kB / 1.064 GB, free: 168 kB / 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.0001614/0.3386, allocations: 111.2 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.3389, allocations: 75.88 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3389, allocations: 0 / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3391, allocations: 40.03 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3394, allocations: 7.875 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.3398, allocations: 144.5 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3401, allocations: 0.6809 MB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.772e-05/0.3402, allocations: 8.062 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.3402, allocations: 11.44 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3402, allocations: 0 / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.003025/0.3432, allocations: 0.7074 MB / 1.065 GB, free: 14.32 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches