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.001394/0.001394, 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.002031/0.002031, allocations: 198.5 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.908/2.908, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001362, allocations: 70.73 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.314, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002356/0.3164, allocations: 1.471 MB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.3173, allocations: 0.6076 MB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.3174, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.3174, allocations: 4 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.3175, allocations: 7.922 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.3178, allocations: 79.66 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.185e-05/0.3178, allocations: 27.91 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.3179, allocations: 8 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.118e-05/0.3179, allocations: 3.984 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.752e-05/0.318, allocations: 15.92 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.318, allocations: 8 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.3183, allocations: 151.7 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.3183, allocations: 0 / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.3183, allocations: 11.94 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.3185, allocations: 100 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3185, allocations: 0 / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3185, allocations: 0 / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3185, allocations: 0 / 1.055 GB, free: 6.32 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.0004487/0.319, allocations: 363.4 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.319, allocations: 8.031 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.3195, allocations: 32.8 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.3196, allocations: 164.4 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3196, allocations: 4.375 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3196, allocations: 4.312 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.3198, allocations: 66.2 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.3198, allocations: 192 / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3199, allocations: 3.938 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3199, allocations: 4 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.3201, allocations: 55.92 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.3206, allocations: 280.7 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.3208, allocations: 66.41 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.3209, allocations: 32.89 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.321, allocations: 4 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.321, allocations: 30.56 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.321, allocations: 0 / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004972/0.3215, allocations: 113.7 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3215, allocations: 51.41 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.3216, allocations: 105.8 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3216, allocations: 25.7 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.3217, allocations: 91.98 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.3217, allocations: 3.984 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.3218, allocations: 17.7 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3219, allocations: 322.8 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.322, allocations: 27.97 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3221, allocations: 23.97 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.3224, allocations: 56.88 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3224, allocations: 0 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002903/0.3227, allocations: 93.47 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3227, allocations: 5.25 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3227, allocations: 7.938 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.3227, allocations: 4.031 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3229, allocations: 11.98 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3229, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.43e-05/0.323, allocations: 11.98 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.323, allocations: 3.984 kB / 1.057 GB, free: 4.039 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.385e-05/0.3231, allocations: 113.8 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.3231, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.3232, allocations: 7.125 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3232, allocations: 4 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3232, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3232, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3234, allocations: 165.6 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3234, allocations: 3.938 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.3235, allocations: 15.97 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3235, allocations: 4 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3235, allocations: 8 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3235, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3235, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.3239, allocations: 187.4 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.3239, allocations: 89.05 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.3239, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.3241, allocations: 7.984 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.3241, allocations: 0 / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.3241, allocations: 4 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.3242, allocations: 83.27 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3242, allocations: 0 / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000232/0.3244, allocations: 12 kB / 1.057 GB, free: 3.258 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.0001539/0.3246, allocations: 115.2 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.3249, allocations: 55.94 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3249, allocations: 0 / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.325, allocations: 35.97 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.3253, allocations: 13.25 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.3257, allocations: 139 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.3259, allocations: 0.677 MB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.949e-05/0.326, allocations: 12.06 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.3261, allocations: 7.438 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3261, allocations: 0 / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of Templates: time 0.002612/0.3287, allocations: 0.7182 MB / 1.059 GB, free: 1.434 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/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