Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001637/0.001637, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002101/0.002101, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 8 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.265/3.265, allocations: 0.49 GB / 0.7958 GB, free: 33.3 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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TStep",fileNamePrefix="Buildings_12_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_12_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.00238/0.00238, allocations: 65.78 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4449, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002872/0.4477, allocations: 1.293 MB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00877/0.4565, allocations: 4.594 MB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.4566, allocations: 0 / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.224e-05/0.4566, allocations: 4 kB / 1.333 GB, free: 11.55 MB / 1.029 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.005436/0.4621, allocations: 1.613 MB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.4622, allocations: 31.91 kB / 1.335 GB, free: 9.902 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.4623, allocations: 15.92 kB / 1.335 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.292e-05/0.4623, allocations: 4 kB / 1.335 GB, free: 9.883 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.118e-05/0.4624, allocations: 11.92 kB / 1.335 GB, free: 9.871 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.4624, allocations: 21.28 kB / 1.335 GB, free: 9.848 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.4625, allocations: 4 kB / 1.335 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004746/0.4672, allocations: 2.738 MB / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.4674, allocations: 153.2 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.4674, allocations: 4 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.47, allocations: 1.781 MB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.47, allocations: 3.984 kB / 1.339 GB, free: 5.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.47, allocations: 4 kB / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.47, allocations: 0 / 1.339 GB, free: 5.156 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0009192/0.471, allocations: 0.5616 MB / 1.34 GB, free: 4.562 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.471, allocations: 12.03 kB / 1.34 GB, free: 4.551 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.471, allocations: 0.9375 kB / 1.34 GB, free: 4.551 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.4711, allocations: 110.5 kB / 1.34 GB, free: 4.418 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4712, allocations: 384 / 1.34 GB, free: 4.418 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.4712, allocations: 4.125 kB / 1.34 GB, free: 4.414 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.4714, allocations: 169.6 kB / 1.34 GB, free: 4.242 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4714, allocations: 4 kB / 1.34 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4714, allocations: 0 / 1.34 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4714, allocations: 0 / 1.34 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.4717, allocations: 275.9 kB / 1.34 GB, free: 3.969 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.472, allocations: 264.6 kB / 1.341 GB, free: 3.668 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.4721, allocations: 158.5 kB / 1.341 GB, free: 3.504 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.4723, allocations: 148.8 kB / 1.341 GB, free: 3.355 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.4723, allocations: 4 kB / 1.341 GB, free: 3.352 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4723, allocations: 34.56 kB / 1.341 GB, free: 3.309 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4723, allocations: 3.938 kB / 1.341 GB, free: 3.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0004818/0.4728, allocations: 461.4 kB / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.4728, allocations: 51.41 kB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.473, allocations: 169.8 kB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.473, allocations: 25.7 kB / 1.342 GB, free: 2.578 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.4731, allocations: 84.39 kB / 1.342 GB, free: 2.492 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.4731, allocations: 0 / 1.342 GB, free: 2.492 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.4731, allocations: 13.72 kB / 1.342 GB, free: 2.473 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4732, allocations: 310.8 kB / 1.342 GB, free: 2.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.4734, allocations: 143.9 kB / 1.342 GB, free: 2.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4735, allocations: 143.9 kB / 1.342 GB, free: 1.879 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.4737, allocations: 288.8 kB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4737, allocations: 0 / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002905/0.474, allocations: 321.5 kB / 1.343 GB, free: 1.273 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.474, allocations: 9.875 kB / 1.343 GB, free: 1.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.474, allocations: 0 / 1.343 GB, free: 1.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4741, allocations: 0 / 1.343 GB, free: 1.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.4741, allocations: 0 / 1.343 GB, free: 1.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4741, allocations: 0 / 1.343 GB, free: 1.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.4742, allocations: 4 kB / 1.343 GB, free: 1.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4742, allocations: 0 / 1.343 GB, free: 1.262 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 (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.000131/0.4743, allocations: 166.3 kB / 1.343 GB, free: 1.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.4743, allocations: 7.969 kB / 1.343 GB, free: 1.082 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.4747, allocations: 328.5 kB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4747, allocations: 4 kB / 1.343 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4747, allocations: 3.984 kB / 1.343 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4747, allocations: 3.938 kB / 1.343 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.4749, allocations: 256.6 kB / 1.344 GB, free: 456 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4749, allocations: 4 kB / 1.344 GB, free: 452 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-06/0.4749, allocations: 4 kB / 1.344 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.4749, allocations: 0 / 1.344 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.4749, allocations: 32 / 1.344 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.4749, allocations: 4 kB / 1.344 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4749, allocations: 0 / 1.344 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.4752, allocations: 341 kB / 1.344 GB, free: 84 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-06/0.4752, allocations: 0 / 1.344 GB, free: 84 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.4753, allocations: 4 kB / 1.344 GB, free: 80 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.4754, allocations: 0 / 1.344 GB, free: 80 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.4754, allocations: 0 / 1.344 GB, free: 80 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.4754, allocations: 4.031 kB / 1.344 GB, free: 76 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001154/0.4755, allocations: 155.3 kB / 1.344 GB, free: 15.92 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4755, allocations: 0 / 1.344 GB, free: 15.92 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001236/0.4767, allocations: 0.588 MB / 1.345 GB, free: 15.33 MB / 1.045 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.002338/0.4791, allocations: 0.9217 MB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.4794, allocations: 287.9 kB / 1.346 GB, free: 14.22 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4794, allocations: 0 / 1.346 GB, free: 14.22 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.4795, allocations: 169.7 kB / 1.346 GB, free: 14.05 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.4797, allocations: 3.938 kB / 1.346 GB, free: 14.04 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/0.4804, allocations: 431.3 kB / 1.346 GB, free: 13.59 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4807, allocations: 0.6729 MB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.4807, allocations: 11.44 kB / 1.347 GB, free: 12.88 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.4807, allocations: 3.938 kB / 1.347 GB, free: 12.88 MB / 1.045 GB Notification: Performance of Templates: time 0.02254/0.5032, allocations: 12.33 MB / 1.359 GB, free: 0.5469 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.563466652994975]