Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001486/0.001486, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001641/0.001641, allocations: 217.8 kB / 23.01 MB, free: 4.566 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002084/0.002084, allocations: 72.31 kB / 1.119 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4256, allocations: 169.9 MB / 1.285 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002753/0.4283, allocations: 1.295 MB / 1.286 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007944/0.4363, allocations: 4.582 MB / 1.29 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.4363, allocations: 0 / 1.29 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.638e-05/0.4364, allocations: 4 kB / 1.29 GB, free: 13.37 MB / 0.9981 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.004829/0.4412, allocations: 1.609 MB / 1.292 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.4413, allocations: 43.8 kB / 1.292 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.069e-05/0.4414, allocations: 8 kB / 1.292 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.4414, allocations: 7.984 kB / 1.292 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.4414, allocations: 4 kB / 1.292 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.4415, allocations: 33.14 kB / 1.292 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.4415, allocations: 0 / 1.292 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/0.446, allocations: 2.702 MB / 1.295 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.4462, allocations: 153.2 kB / 1.295 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.4462, allocations: 0 / 1.295 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.4491, allocations: 1.765 MB / 1.297 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4491, allocations: 0 / 1.297 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4491, allocations: 0 / 1.297 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4491, allocations: 4 kB / 1.297 GB, free: 7.031 MB / 0.9981 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.0009443/0.4501, allocations: 0.5733 MB / 1.297 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4501, allocations: 8.031 kB / 1.297 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.4501, allocations: 4.938 kB / 1.297 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.4503, allocations: 106.5 kB / 1.297 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4503, allocations: 4.375 kB / 1.297 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.4503, allocations: 8.125 kB / 1.297 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.4505, allocations: 165.6 kB / 1.297 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4505, allocations: 0 / 1.297 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.4505, allocations: 0 / 1.297 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4506, allocations: 4 kB / 1.297 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.4508, allocations: 283.8 kB / 1.298 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.4511, allocations: 256.7 kB / 1.298 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.4513, allocations: 158.5 kB / 1.298 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.4514, allocations: 152.8 kB / 1.298 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.4514, allocations: 0 / 1.298 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.4515, allocations: 34.56 kB / 1.298 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.4515, allocations: 0 / 1.298 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0004927/0.452, allocations: 453.5 kB / 1.299 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.452, allocations: 51.41 kB / 1.299 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.4522, allocations: 173.8 kB / 1.299 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.4522, allocations: 25.7 kB / 1.299 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.4522, allocations: 80.14 kB / 1.299 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.4522, allocations: 3.953 kB / 1.299 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.4523, allocations: 17.97 kB / 1.299 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4524, allocations: 314.8 kB / 1.299 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4525, allocations: 139.9 kB / 1.299 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.4527, allocations: 139.9 kB / 1.3 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.4529, allocations: 288.8 kB / 1.3 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4529, allocations: 0 / 1.3 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000289/0.4532, allocations: 321.5 kB / 1.3 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4532, allocations: 8.094 kB / 1.3 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4532, allocations: 0 / 1.3 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4533, allocations: 4 kB / 1.3 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.4533, allocations: 3.938 kB / 1.3 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4533, allocations: 3.938 kB / 1.3 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.4534, allocations: 0 / 1.3 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4534, allocations: 0 / 1.3 GB, free: 3.125 MB / 0.9981 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.0001413/0.4535, allocations: 173.8 kB / 1.3 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.4536, allocations: 3.938 kB / 1.3 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.4539, allocations: 328.5 kB / 1.301 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4539, allocations: 0 / 1.301 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4539, allocations: 0 / 1.301 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4539, allocations: 0 / 1.301 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.4542, allocations: 268.6 kB / 1.301 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4542, allocations: 0 / 1.301 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.4542, allocations: 0 / 1.301 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4542, allocations: 4 kB / 1.301 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4542, allocations: 0 / 1.301 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4542, allocations: 3.984 kB / 1.301 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4542, allocations: 0 / 1.301 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.4545, allocations: 341 kB / 1.301 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.4545, allocations: 4 kB / 1.301 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.4546, allocations: 0 / 1.301 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.4546, allocations: 0 / 1.301 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.4547, allocations: 7.984 kB / 1.301 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4547, allocations: 0 / 1.301 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001085/0.4548, allocations: 151.3 kB / 1.301 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4548, allocations: 4 kB / 1.301 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00136/0.4561, allocations: 0.5803 MB / 1.302 GB, free: 1.207 MB / 0.9981 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.002438/0.4586, allocations: 0.9118 MB / 1.303 GB, free: 392 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.4589, allocations: 283.9 kB / 1.303 GB, free: 108 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4589, allocations: 0 / 1.303 GB, free: 108 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.4591, allocations: 173.7 kB / 1.303 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.4593, allocations: 7.875 kB / 1.303 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.4599, allocations: 427.2 kB / 1.304 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.4602, allocations: 0.669 MB / 1.304 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.4603, allocations: 15.42 kB / 1.304 GB, free: 14.76 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.4603, allocations: 3.938 kB / 1.304 GB, free: 14.76 MB / 1.014 GB Notification: Performance of Templates: time 0.02317/0.4834, allocations: 12.23 MB / 1.316 GB, free: 2.531 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.56048645899864]