Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_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.001662/0.001662, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001572/0.001572, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.49/1.49, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 469.8 MB / 0.7427 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.91 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3682, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003107/0.3713, allocations: 1.47 MB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3725, allocations: 0.5959 MB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.3725, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.3725, allocations: 3.938 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.3726, allocations: 7.938 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.3731, allocations: 87.69 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.3731, allocations: 23.94 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.3732, allocations: 7.984 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.3733, allocations: 8 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.3733, allocations: 19.86 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.3734, allocations: 4 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.3737, allocations: 143.8 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.3737, allocations: 4 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.3737, allocations: 11.94 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3739, allocations: 72.12 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3739, allocations: 4 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3739, allocations: 0 / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.3739, allocations: 0 / 1.067 GB, free: 12.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00052/0.3745, allocations: 355.4 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3745, allocations: 11.97 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004674/0.375, allocations: 36.8 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3751, allocations: 168.4 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.3752, allocations: 384 / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.3752, allocations: 384 / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.3754, allocations: 62.2 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3754, allocations: 192 / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3755, allocations: 3.938 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3755, allocations: 4 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.3757, allocations: 55.94 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.3763, allocations: 268.9 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.3765, allocations: 66.47 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.3767, allocations: 28.89 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3767, allocations: 4 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3767, allocations: 30.56 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3768, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0005321/0.3773, allocations: 121.5 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3773, allocations: 51.41 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.3774, allocations: 105.8 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3775, allocations: 25.7 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.3775, allocations: 88.2 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.3776, allocations: 7.891 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.3776, allocations: 21.7 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3778, allocations: 310.8 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3779, allocations: 27.97 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.378, allocations: 27.97 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.3783, allocations: 60.73 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3783, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003204/0.3786, allocations: 97.77 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3787, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3787, allocations: 4 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3787, allocations: 3.984 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.3788, allocations: 19.97 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3789, allocations: 0 / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.379, allocations: 7.938 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.379, allocations: 8.016 kB / 1.069 GB, free: 10.38 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 0.0001008/0.3791, allocations: 114.4 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.3791, allocations: 0 / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.3792, allocations: 7.125 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3792, allocations: 4 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3792, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3792, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3794, allocations: 161.6 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3794, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.3795, allocations: 15.97 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.3795, allocations: 4 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3796, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3796, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3796, allocations: 3.938 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.3799, allocations: 191.4 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.38, allocations: 85.02 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.38, allocations: 0 / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3802, allocations: 7.984 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.3802, allocations: 0 / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3802, allocations: 11.98 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.3803, allocations: 79.31 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3803, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002624/0.3806, allocations: 16 kB / 1.069 GB, free: 9.598 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.0002027/0.3808, allocations: 107.2 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.3811, allocations: 63.88 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3811, allocations: 0 / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3812, allocations: 31.97 kB / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.3816, allocations: 9.484 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.3821, allocations: 172.3 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3824, allocations: 0.6768 MB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.3825, allocations: 11.44 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3825, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of Templates: time 0.002774/0.3853, allocations: 0.9017 MB / 1.071 GB, free: 7.566 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches