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.001102/0.001102, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001597/0.001597, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.853/2.853, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 65.41 kB / 0.8986 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3358, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003073/0.3389, allocations: 1.478 MB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.34, allocations: 0.5882 MB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.34, allocations: 4 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.3401, allocations: 0 / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.3402, allocations: 11.92 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.3407, allocations: 79.72 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.3408, allocations: 27.86 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.3409, allocations: 4 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.3409, allocations: 11.98 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.341, allocations: 19.92 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.341, allocations: 4 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.3413, allocations: 147.7 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.3413, allocations: 4 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.3413, allocations: 15.92 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3416, allocations: 99.98 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3416, allocations: 3.984 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3416, allocations: 0 / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3416, allocations: 0 / 1.055 GB, free: 6.324 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.0004799/0.3421, allocations: 359.4 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3421, allocations: 8.625 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004693/0.3426, allocations: 32.81 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3427, allocations: 168.4 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3428, allocations: 384 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3428, allocations: 4.359 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.343, allocations: 66.2 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.343, allocations: 8.125 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3431, allocations: 3.938 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3431, allocations: 0 / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.3433, allocations: 55.88 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.3438, allocations: 280.7 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.3441, allocations: 62.47 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.3442, allocations: 32.89 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3442, allocations: 4 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.3443, allocations: 34.56 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3443, allocations: 0 / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005067/0.3448, allocations: 113.6 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.3448, allocations: 51.41 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.3449, allocations: 105.8 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3449, allocations: 29.64 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.345, allocations: 87.98 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.345, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.345, allocations: 21.7 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.3451, allocations: 314.9 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3453, allocations: 27.97 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.3454, allocations: 23.97 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.3456, allocations: 60.81 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3457, allocations: 0 / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002907/0.3459, allocations: 97.47 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.346, allocations: 9.406 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.346, allocations: 0 / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.346, allocations: 4.031 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3461, allocations: 11.98 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3462, allocations: 0 / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.918e-05/0.3462, allocations: 7.984 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3463, allocations: 4 kB / 1.057 GB, free: 4.051 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 9.256e-05/0.3464, allocations: 115.3 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3464, allocations: 0 / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.3464, allocations: 15.12 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3465, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3465, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3465, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3466, allocations: 161.6 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3466, allocations: 7.938 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3468, allocations: 15.97 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3468, allocations: 3.938 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3468, allocations: 4 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3468, allocations: 0 / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3468, allocations: 0 / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.3471, allocations: 183.4 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.3472, allocations: 89.05 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3472, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3473, allocations: 7.984 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3474, allocations: 4.188 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3474, allocations: 11.94 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.3474, allocations: 87.25 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3475, allocations: 0 / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002393/0.3477, 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.0001875/0.3479, allocations: 119.2 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.3482, allocations: 59.94 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3482, allocations: 0 / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3484, allocations: 32.03 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3487, allocations: 10.05 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.3491, allocations: 138.5 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3493, allocations: 0.6767 MB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.118e-05/0.3494, allocations: 19.98 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.3495, allocations: 7.438 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3495, allocations: 0 / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of Templates: time 0.002987/0.3525, allocations: 0.7158 MB / 1.059 GB, free: 1.43 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