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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.8 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 66.16 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3471, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00257/0.3497, allocations: 1.348 MB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.3507, allocations: 0.592 MB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.3507, allocations: 4 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.3508, allocations: 0 / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.3508, allocations: 7.922 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.3512, allocations: 75.7 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.509e-05/0.3512, allocations: 27.86 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.3513, allocations: 0 / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.3513, allocations: 4 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.3514, allocations: 7.938 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3514, allocations: 4 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.3518, allocations: 151.7 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.3518, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.3518, allocations: 7.984 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.3521, allocations: 96 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3521, allocations: 0 / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.41e-07/0.3521, allocations: 0 / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.3521, allocations: 4 kB / 1.054 GB, free: 6.496 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004402/0.3526, allocations: 343.5 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3526, allocations: 12.03 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.3531, allocations: 28.89 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3532, allocations: 164.4 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3532, allocations: 384 / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3533, allocations: 384 / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3534, allocations: 54.16 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3535, allocations: 4.188 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3535, allocations: 3.938 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.3535, allocations: 3.984 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.3536, allocations: 23.92 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.3538, allocations: 165.4 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.354, allocations: 46.58 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.957e-05/0.354, allocations: 16.91 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3541, allocations: 4 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3541, allocations: 30.56 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3541, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003116/0.3544, allocations: 81.53 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3545, allocations: 51.41 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.3545, allocations: 101.8 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.3546, allocations: 25.7 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.3546, allocations: 84.08 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3546, allocations: 3.906 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.3547, allocations: 17.84 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3548, allocations: 318.8 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.3549, allocations: 11.98 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.3549, allocations: 8 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3551, allocations: 36.77 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3551, allocations: 4.062 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002038/0.3553, allocations: 57.67 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3553, allocations: 8 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3553, allocations: 3.938 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3554, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3555, allocations: 7.984 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3555, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.3556, allocations: 8.031 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3556, allocations: 0 / 1.056 GB, free: 4.574 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.657e-05/0.3557, allocations: 111.3 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.3557, allocations: 7.984 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.3557, allocations: 11.06 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3557, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3557, allocations: 3.938 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3557, allocations: 4 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.3559, allocations: 161.7 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3559, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.356, allocations: 15.92 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.356, allocations: 0 / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.356, allocations: 3.938 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.356, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.356, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.3562, allocations: 89.09 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.3563, allocations: 81.02 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.3563, allocations: 7.922 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.3564, allocations: 4 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.3564, allocations: 0 / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.3564, allocations: 0 / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.3565, allocations: 83.27 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3565, allocations: 4.031 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002004/0.3567, allocations: 16 kB / 1.057 GB, free: 3.891 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.0001545/0.3568, allocations: 107.2 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.357, allocations: 35.84 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.357, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.3571, allocations: 16.05 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.3573, allocations: 11.98 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.3577, allocations: 116.4 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.358, allocations: 0.6731 MB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.889e-05/0.3581, allocations: 12.39 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.3581, allocations: 11.42 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of SimCode: time 1.583e-06/0.3581, allocations: 0 / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of Templates: time 0.003008/0.3612, allocations: 0.7149 MB / 1.058 GB, free: 2.148 MB / 0.8106 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