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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 213.8 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.23/3.23, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 78.33 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3716, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002485/0.3741, allocations: 1.305 MB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3751, allocations: 0.5262 MB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.3751, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.3751, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.3752, allocations: 7.922 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.3756, allocations: 103.6 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.3757, allocations: 19.86 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.3757, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.3758, allocations: 7.938 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.3758, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.3758, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.3762, allocations: 143.7 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.3762, allocations: 7.984 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.3762, allocations: 7.938 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3765, allocations: 87.78 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3765, allocations: 3.938 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3765, allocations: 4 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3765, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 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.0003966/0.3769, allocations: 270.2 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3769, allocations: 11.97 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004619/0.3774, allocations: 36.84 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3775, allocations: 106.5 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3775, allocations: 384 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3775, allocations: 8.375 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3777, allocations: 54.16 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3777, allocations: 192 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3777, allocations: 3.938 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3777, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3778, allocations: 19.98 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.378, allocations: 109.3 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3781, allocations: 42.58 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.3782, allocations: 20.86 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3782, allocations: 3.984 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3783, allocations: 34.56 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3783, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000318/0.3786, allocations: 77.59 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3786, allocations: 51.41 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.3787, allocations: 101.8 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3787, allocations: 25.7 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.3788, allocations: 80.14 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.3788, allocations: 7.891 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.3788, allocations: 17.7 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.379, allocations: 314.8 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.3791, allocations: 23.98 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-05/0.3791, allocations: 15.98 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3792, allocations: 24.84 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3792, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001754/0.3794, allocations: 61.73 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3794, allocations: 8 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3794, allocations: 0 / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3795, allocations: 3.938 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3796, allocations: 7.984 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.3796, allocations: 0 / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.3796, allocations: 7.984 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3796, allocations: 0 / 1.367 GB, free: 9.668 MB / 1.061 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.646e-05/0.3797, allocations: 113.8 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.3797, allocations: 7.984 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.3798, allocations: 3.312 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3798, allocations: 7.875 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3798, allocations: 0 / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3798, allocations: 4 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.3799, allocations: 105.3 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3799, allocations: 0 / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.38, allocations: 7.984 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.38, allocations: 0 / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.38, allocations: 8 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.38, allocations: 0 / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.38, allocations: 7.938 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.3802, allocations: 81.09 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.3802, allocations: 8 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3803, allocations: 0 / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.3803, allocations: 7.984 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.3803, allocations: 7.875 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3803, allocations: 4.031 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.268e-05/0.3804, allocations: 79.28 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3804, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002183/0.3806, allocations: 19.92 kB / 1.368 GB, free: 9.141 MB / 1.061 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.0001711/0.3808, allocations: 103.2 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.381, allocations: 35.97 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.381, allocations: 4.062 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.381, allocations: 11.98 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.3813, allocations: 13.11 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.3816, allocations: 119.7 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.3817, allocations: 55.36 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.747e-05/0.3818, allocations: 16 kB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.3818, allocations: 15.42 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3818, allocations: 0 / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of Templates: time 0.003405/0.3852, allocations: 0.7962 MB / 1.369 GB, free: 7.949 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.867924012243748]