Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.002239/0.002239, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.003049/0.003049, allocations: 218.6 kB / 22.3 MB, free: 5.301 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.573/1.573, allocations: 230.7 MB / 256.1 MB, free: 7.734 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.416/3.416, allocations: 0.5108 GB / 0.8159 GB, free: 17.76 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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [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.002157/0.002157, allocations: 69.7 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5438/0.546, allocations: 181.9 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.004294/0.5503, allocations: 1.292 MB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.5626, allocations: 4.134 MB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.5627, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.5628, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeBindings: time 0.008254/0.571, allocations: 1.605 MB / 1.371 GB, free: 6.414 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.5712, allocations: 39.89 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.5713, allocations: 11.94 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.253e-05/0.5714, allocations: 0 / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.5715, allocations: 8 kB / 1.371 GB, free: 6.355 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.5716, allocations: 29.25 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.5716, allocations: 0 / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007516/0.5792, allocations: 2.433 MB / 1.373 GB, free: 3.887 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.5794, allocations: 157.2 kB / 1.374 GB, free: 3.734 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.5795, allocations: 3.984 kB / 1.374 GB, free: 3.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004504/0.584, allocations: 1.742 MB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.584, allocations: 0 / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.355e-06/0.584, allocations: 0 / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.584, allocations: 0 / 1.375 GB, free: 1.984 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001672/0.5857, allocations: 0.5677 MB / 1.376 GB, free: 1.387 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.005e-05/0.5857, allocations: 12.03 kB / 1.376 GB, free: 1.375 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.5858, allocations: 0.9375 kB / 1.376 GB, free: 1.375 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.586, allocations: 106.5 kB / 1.376 GB, free: 1.246 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.5861, allocations: 4.375 kB / 1.376 GB, free: 1.242 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.5861, allocations: 4.125 kB / 1.376 GB, free: 1.238 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.5864, allocations: 173.6 kB / 1.376 GB, free: 1.062 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5865, allocations: 0 / 1.376 GB, free: 1.062 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.5865, allocations: 3.984 kB / 1.376 GB, free: 1.059 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.5865, allocations: 3.938 kB / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.5869, allocations: 279.9 kB / 1.376 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.5873, allocations: 241.2 kB / 1.377 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.5876, allocations: 162.5 kB / 1.377 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.5878, allocations: 144.9 kB / 1.377 GB, free: 208 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.5878, allocations: 11.92 kB / 1.377 GB, free: 196 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/0.5879, allocations: 38.44 kB / 1.377 GB, free: 148 kB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.5879, allocations: 0 / 1.377 GB, free: 148 kB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0008184/0.5887, allocations: 449.5 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.5888, allocations: 51.41 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.589, allocations: 169.8 kB / 1.378 GB, free: 15.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.5891, allocations: 25.95 kB / 1.378 GB, free: 15.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.5891, allocations: 84.14 kB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.5892, allocations: 3.953 kB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.5892, allocations: 17.7 kB / 1.378 GB, free: 15.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.5894, allocations: 314.8 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.5896, allocations: 136 kB / 1.378 GB, free: 14.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.5898, allocations: 143.9 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.5903, allocations: 292.7 kB / 1.379 GB, free: 14.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5903, allocations: 0 / 1.379 GB, free: 14.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004442/0.5907, allocations: 309.5 kB / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5907, allocations: 12.09 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.5907, allocations: 3.984 kB / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5908, allocations: 0 / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.5908, allocations: 0 / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5908, allocations: 0 / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.591, allocations: 4 kB / 1.379 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.591, allocations: 4 kB / 1.379 GB, free: 14.11 MB / 1.076 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 (1): * Single equations (assignments): 1 * 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.0001833/0.5912, allocations: 165.8 kB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.5912, allocations: 7.938 kB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.5917, allocations: 332.5 kB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5917, allocations: 0 / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.5917, allocations: 0 / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5917, allocations: 0 / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.5921, allocations: 233.3 kB / 1.38 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.5921, allocations: 4 kB / 1.38 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.5921, allocations: 0 / 1.38 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5921, allocations: 3.938 kB / 1.38 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.5921, allocations: 0 / 1.38 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5921, allocations: 0 / 1.38 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5921, allocations: 0 / 1.38 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.5926, allocations: 348.9 kB / 1.38 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.5926, allocations: 7.938 kB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.5927, allocations: 7.922 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5928, allocations: 0 / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.5928, allocations: 0 / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.5928, allocations: 0 / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001673/0.593, allocations: 155.2 kB / 1.38 GB, free: 12.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.593, allocations: 0 / 1.38 GB, free: 12.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002352/0.5954, allocations: 0.5764 MB / 1.381 GB, free: 12.22 MB / 1.076 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004089/0.5995, allocations: 0.9315 MB / 1.382 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005051/0.6, allocations: 287.9 kB / 1.382 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6, allocations: 0 / 1.382 GB, free: 11.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.6002, allocations: 169.6 kB / 1.382 GB, free: 10.94 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.6006, allocations: 4 kB / 1.382 GB, free: 10.93 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.6028, allocations: 0.9918 MB / 1.383 GB, free: 9.914 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.6031, allocations: 213.1 kB / 1.383 GB, free: 9.684 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.6032, allocations: 4 kB / 1.383 GB, free: 9.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.6032, allocations: 12.5 kB / 1.383 GB, free: 9.668 MB / 1.076 GB Notification: Performance of SimCode: time 6.11e-07/0.6032, allocations: 0 / 1.383 GB, free: 9.668 MB / 1.076 GB Notification: Performance of Templates: time 0.02781/0.631, allocations: 12.54 MB / 1.395 GB, free: 13.15 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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: 11.216950002126396]