Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.01159/0.01159, allocations: 96.62 kB / 15.73 MB, free: 6.043 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.002263/0.002263, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3391, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002167/0.3413, allocations: 1.288 MB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.3423, allocations: 0.5853 MB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.3423, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.3424, allocations: 0 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.3424, allocations: 3.938 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.3428, allocations: 87.56 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.051e-05/0.3429, allocations: 23.88 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.3429, allocations: 4 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.062e-05/0.343, allocations: 15.97 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.343, allocations: 7.938 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.343, allocations: 0 / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.3433, allocations: 139.7 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.3434, allocations: 7.984 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.3434, allocations: 7.938 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.3436, allocations: 83.78 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3436, allocations: 4 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3436, allocations: 0 / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3436, allocations: 0 / 1.169 GB, free: 4.539 MB / 0.92 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.0003988/0.344, allocations: 351.2 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3441, allocations: 12.02 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.3445, allocations: 24.91 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3446, allocations: 168.3 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.3447, allocations: 384 / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.3447, allocations: 384 / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3448, allocations: 58.16 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3449, allocations: 192 / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3449, allocations: 7.922 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3449, allocations: 0 / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.345, allocations: 23.97 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.3452, allocations: 153.7 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.3453, allocations: 42.59 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.3454, allocations: 20.91 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3454, allocations: 0 / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3455, allocations: 34.5 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3455, allocations: 0 / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002978/0.3458, allocations: 77.59 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.3458, allocations: 51.41 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.3459, allocations: 101.8 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3459, allocations: 29.64 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.346, allocations: 80.14 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.346, allocations: 3.953 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.346, allocations: 21.83 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.3461, allocations: 314.8 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.3462, allocations: 11.98 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.687e-05/0.3463, allocations: 15.98 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3464, allocations: 32.84 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3464, allocations: 0 / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001622/0.3466, allocations: 57.67 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3466, allocations: 8 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3466, allocations: 3.938 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3466, allocations: 0 / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.3467, allocations: 11.92 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3468, allocations: 8.016 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.3468, allocations: 4 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.3468, allocations: 3.984 kB / 1.17 GB, free: 2.613 MB / 0.92 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 6.78e-05/0.3469, allocations: 109.8 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.3469, allocations: 0 / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.347, allocations: 11.06 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.347, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.347, allocations: 4 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.347, allocations: 3.938 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.3471, allocations: 157.6 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3471, allocations: 4 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.3472, allocations: 7.984 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3472, allocations: 0 / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3472, allocations: 15.92 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3472, allocations: 0 / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3472, allocations: 0 / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.3474, allocations: 81.11 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.3475, allocations: 89.03 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3475, allocations: 7.938 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.541e-05/0.3476, allocations: 0 / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.3476, allocations: 0 / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3476, allocations: 7.984 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.3477, allocations: 79.31 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3477, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002117/0.3479, allocations: 12 kB / 1.171 GB, free: 1.938 MB / 0.92 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.0001701/0.3481, allocations: 127 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.3483, allocations: 27.97 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3483, allocations: 4.062 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.241e-05/0.3483, allocations: 11.98 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.3485, allocations: 8 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.3489, allocations: 110.5 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.3491, allocations: 0.6729 MB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.795e-05/0.3492, allocations: 20.25 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.3492, allocations: 11.44 kB / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3492, allocations: 0 / 1.172 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of Templates: time 0.002861/0.3521, allocations: 0.7356 MB / 1.173 GB, free: 160 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches