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.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.001283/0.001283, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001415/0.001415, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.809 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.363/3.363, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.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.002058/0.002058, allocations: 70.38 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3731, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002735/0.3759, allocations: 1.435 MB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.377, allocations: 0.5503 MB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.377, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.377, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.3771, allocations: 3.938 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.3775, allocations: 103.5 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.429e-05/0.3775, allocations: 35.8 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.3776, allocations: 4 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.897e-05/0.3777, allocations: 7.984 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.3777, allocations: 11.94 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3777, allocations: 4 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.378, allocations: 135.8 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.378, allocations: 7.984 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.378, allocations: 7.938 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.3783, allocations: 99.7 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3783, allocations: 4 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3783, allocations: 7.938 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3783, allocations: 0 / 1.366 GB, free: 11.18 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004882/0.3788, allocations: 290 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3788, allocations: 8.031 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/0.3793, allocations: 28.91 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3794, allocations: 110.5 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3794, allocations: 4.375 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.3794, allocations: 8.375 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.3796, allocations: 66.14 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3796, allocations: 192 / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3797, allocations: 3.938 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3797, allocations: 0 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.3799, allocations: 55.94 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.3804, allocations: 216.5 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.3806, allocations: 54.53 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3808, allocations: 36.89 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3808, allocations: 7.938 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3808, allocations: 30.56 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3808, allocations: 4 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0005398/0.3813, allocations: 113.5 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.3814, allocations: 51.53 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.3815, allocations: 105.8 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3815, allocations: 25.7 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.3816, allocations: 84.14 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.3816, allocations: 7.953 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3816, allocations: 17.7 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3818, allocations: 310.8 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3819, allocations: 27.97 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.382, allocations: 27.97 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.3823, allocations: 64.73 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3823, allocations: 0 / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003169/0.3826, allocations: 93.58 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3826, allocations: 4 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3826, allocations: 4 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.3827, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.3828, allocations: 15.97 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3828, allocations: 0 / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.3829, allocations: 11.98 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.3829, allocations: 4.031 kB / 1.368 GB, free: 9.152 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 0.0001007/0.383, allocations: 110.9 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.3831, allocations: 7.938 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.3831, allocations: 7.312 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3831, allocations: 0 / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3831, allocations: 0 / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3831, allocations: 3.984 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3833, allocations: 105.3 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.3833, allocations: 7.984 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.3834, allocations: 19.92 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3834, allocations: 3.938 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3834, allocations: 0 / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3834, allocations: 3.938 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3834, allocations: 0 / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.3838, allocations: 187.5 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.3838, allocations: 11.88 kB / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3838, allocations: 0 / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.384, allocations: 11.98 kB / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.384, allocations: 0 / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.384, allocations: 3.984 kB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.3841, allocations: 83.28 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3841, allocations: 0 / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00025/0.3843, allocations: 12 kB / 1.369 GB, free: 8.523 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.0001926/0.3845, allocations: 111.2 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.3848, allocations: 59.88 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3848, allocations: 3.938 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.385, allocations: 32.03 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.3853, allocations: 8 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.3858, allocations: 134.8 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.542e-05/0.3859, allocations: 59.34 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.287e-05/0.386, allocations: 15.94 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.386, allocations: 11.44 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.386, allocations: 0 / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of Templates: time 0.003626/0.3897, allocations: 0.8294 MB / 1.37 GB, free: 7.219 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.017630714923143]