Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001682/0.001682, allocations: 108.3 kB / 19.7 MB, free: 2.152 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.002115/0.002115, allocations: 208.3 kB / 22.99 MB, free: 4.977 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.412/3.412, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_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.002184/0.002184, allocations: 66.61 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3974, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003167/0.4006, allocations: 1.427 MB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.4019, allocations: 0.5609 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.4019, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.402, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.4021, allocations: 7.922 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.4026, allocations: 107.5 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.272e-05/0.4027, allocations: 19.94 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.4028, allocations: 11.98 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.4028, allocations: 7.938 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.4029, allocations: 7.984 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.4029, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.4032, allocations: 147.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.4032, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.4033, allocations: 11.94 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.4035, allocations: 111.6 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.4036, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4036, allocations: 4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.4036, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 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.0006075/0.4042, allocations: 282.1 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4042, allocations: 8.031 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005416/0.4048, allocations: 32.89 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.4049, allocations: 110.4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4049, allocations: 8.375 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.4049, allocations: 384 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.4052, allocations: 62.2 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4052, allocations: 192 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.4052, allocations: 7.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.4052, allocations: 3.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.4055, allocations: 55.94 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.406, allocations: 212.6 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.4062, allocations: 58.47 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4064, allocations: 28.91 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.4064, allocations: 11.92 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.4064, allocations: 34.56 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4064, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0005355/0.407, allocations: 109.6 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.407, allocations: 59.47 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/0.4071, allocations: 97.84 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4071, allocations: 29.7 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.4072, allocations: 84.14 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.4072, allocations: 3.953 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.4073, allocations: 17.7 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0003088/0.4076, allocations: 314.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.4077, allocations: 27.97 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.4078, allocations: 27.97 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.4081, allocations: 56.81 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4081, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003276/0.4084, allocations: 105.5 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4084, allocations: 8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4084, allocations: 3.984 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4085, allocations: 192 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.4086, allocations: 11.98 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4086, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.375e-05/0.4087, allocations: 7.984 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.4087, allocations: 12.02 kB / 1.331 GB, free: 12.53 MB / 1.029 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.749e-05/0.4088, allocations: 113.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.4088, allocations: 3.938 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.4089, allocations: 7.312 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4089, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4089, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4089, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.4091, allocations: 113.2 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4091, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4092, allocations: 11.98 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4092, allocations: 3.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.4092, allocations: 7.984 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4092, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4092, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.4096, allocations: 183.4 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.4096, allocations: 15.81 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.4097, allocations: 4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4098, allocations: 8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.4098, allocations: 3.984 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.4098, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.4099, allocations: 79.28 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4099, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002532/0.4101, allocations: 15.98 kB / 1.332 GB, free: 11.91 MB / 1.029 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.000196/0.4103, allocations: 115.2 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.4106, allocations: 59.92 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4106, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.4108, allocations: 35.97 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.4111, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.4117, allocations: 134.8 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.317e-05/0.4117, allocations: 63.34 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.874e-05/0.4118, allocations: 12 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.4118, allocations: 15.42 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4118, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of Templates: time 0.003683/0.4155, allocations: 0.8468 MB / 1.333 GB, free: 10.58 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.14748467100435]