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.001521/0.001521, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.002271/0.002271, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 469.4 MB / 0.7423 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 64.66 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3363, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002727/0.3391, allocations: 1.344 MB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.34, allocations: 0.5725 MB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.3401, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.3401, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.3402, allocations: 7.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.3406, allocations: 87.69 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.036e-05/0.3407, allocations: 19.81 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.3407, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.3407, allocations: 12 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.3408, allocations: 7.984 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3408, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.3411, allocations: 159.7 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.3411, allocations: 3.938 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.3411, allocations: 4 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.3413, allocations: 64.16 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3413, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3413, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3413, allocations: 3.938 kB / 1.066 GB, free: 13.07 MB / 0.8419 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.0004021/0.3417, allocations: 349.2 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3418, allocations: 12.03 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/0.3422, allocations: 28.84 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3424, allocations: 164.3 kB / 1.066 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3424, allocations: 4.359 kB / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.3424, allocations: 384 / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3426, allocations: 54.23 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3426, allocations: 192 / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3426, allocations: 3.938 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3426, allocations: 4 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.3428, allocations: 23.97 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.3429, allocations: 153.7 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.3431, allocations: 46.48 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.811e-05/0.3432, allocations: 16.92 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3432, allocations: 3.984 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3432, allocations: 30.56 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3432, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000293/0.3435, allocations: 77.59 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.3436, allocations: 55.34 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.3437, allocations: 97.86 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3437, allocations: 25.7 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.3437, allocations: 80.14 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.3438, allocations: 8.031 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.3438, allocations: 17.7 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3439, allocations: 318.8 kB / 1.067 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.344, allocations: 7.984 kB / 1.067 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.3441, allocations: 15.98 kB / 1.067 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3442, allocations: 28.91 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3442, allocations: 3.938 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001687/0.3444, allocations: 61.67 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3444, allocations: 7.938 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3444, allocations: 3.938 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3444, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3445, allocations: 7.984 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3445, allocations: 4.031 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.3446, allocations: 11.92 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3446, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 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.784e-05/0.3447, allocations: 113.8 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.3447, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.3448, allocations: 11.06 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3448, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3448, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3448, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.3449, allocations: 153.7 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3449, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.345, allocations: 4 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.345, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.345, allocations: 11.92 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.345, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.345, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.3452, allocations: 89.14 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.3453, allocations: 93.08 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3453, allocations: 3.938 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-05/0.3454, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.3454, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-06/0.3454, allocations: 8.016 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.3455, allocations: 79.28 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3455, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002041/0.3457, allocations: 12 kB / 1.068 GB, free: 10.48 MB / 0.8419 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.000167/0.3458, allocations: 119.2 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.346, allocations: 27.97 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.346, allocations: 4.062 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.315e-05/0.3461, allocations: 19.86 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.3463, allocations: 11.94 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.3467, allocations: 144.3 kB / 1.068 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3469, allocations: 0.6807 MB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.347, allocations: 11.44 kB / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.347, allocations: 0 / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.002562/0.3495, allocations: 0.7893 MB / 1.07 GB, free: 8.617 MB / 0.8419 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/jenkins1/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