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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 188.8 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.266/3.266, allocations: 496 MB / 0.7835 GB, free: 33.66 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 66.23 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4379, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.003105/0.441, allocations: 1.284 MB / 1.309 GB, free: 0.5078 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.008085/0.4491, allocations: 4.57 MB / 1.313 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.4491, allocations: 3.938 kB / 1.313 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 6.433e-05/0.4492, allocations: 0 / 1.313 GB, free: 11.91 MB / 1.014 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.004676/0.4539, allocations: 1.613 MB / 1.315 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.454, allocations: 39.89 kB / 1.315 GB, free: 10.26 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.454, allocations: 7.984 kB / 1.315 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.4541, allocations: 7.938 kB / 1.315 GB, free: 10.24 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.4541, allocations: 4 kB / 1.315 GB, free: 10.24 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.4542, allocations: 25.27 kB / 1.315 GB, free: 10.21 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.4542, allocations: 0 / 1.315 GB, free: 10.21 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004515/0.4587, allocations: 2.722 MB / 1.317 GB, free: 7.484 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.4589, allocations: 149.2 kB / 1.318 GB, free: 7.34 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.4589, allocations: 7.938 kB / 1.318 GB, free: 7.332 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.003112/0.462, allocations: 1.777 MB / 1.319 GB, free: 5.551 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4621, allocations: 3.938 kB / 1.319 GB, free: 5.547 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.715e-06/0.4621, allocations: 0 / 1.319 GB, free: 5.547 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.224e-06/0.4621, allocations: 0 / 1.319 GB, free: 5.547 MB / 1.014 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.001159/0.4632, allocations: 0.5617 MB / 1.32 GB, free: 4.953 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.4633, allocations: 8.922 kB / 1.32 GB, free: 4.945 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.4633, allocations: 0.9375 kB / 1.32 GB, free: 4.945 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.4635, allocations: 110.5 kB / 1.32 GB, free: 4.812 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4635, allocations: 384 / 1.32 GB, free: 4.812 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.4635, allocations: 4.125 kB / 1.32 GB, free: 4.809 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.4638, allocations: 173.6 kB / 1.32 GB, free: 4.633 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4638, allocations: 3.984 kB / 1.32 GB, free: 4.629 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4638, allocations: 7.938 kB / 1.32 GB, free: 4.621 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4638, allocations: 0 / 1.32 GB, free: 4.621 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.4641, allocations: 279.9 kB / 1.32 GB, free: 4.348 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.4645, allocations: 260.6 kB / 1.321 GB, free: 4.051 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.4647, allocations: 158.5 kB / 1.321 GB, free: 3.887 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.4648, allocations: 148.8 kB / 1.321 GB, free: 3.738 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.4648, allocations: 4 kB / 1.321 GB, free: 3.734 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4649, allocations: 38.5 kB / 1.321 GB, free: 3.688 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.4649, allocations: 0 / 1.321 GB, free: 3.688 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1): time 0.000535/0.4654, allocations: 449.5 kB / 1.321 GB, free: 3.242 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.4655, allocations: 55.41 kB / 1.321 GB, free: 3.176 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.4656, allocations: 161.8 kB / 1.322 GB, free: 3.008 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.4656, allocations: 25.7 kB / 1.322 GB, free: 2.977 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.4657, allocations: 88.12 kB / 1.322 GB, free: 2.887 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.4657, allocations: 4.203 kB / 1.322 GB, free: 2.883 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.4658, allocations: 17.72 kB / 1.322 GB, free: 2.859 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001772/0.4659, allocations: 310.8 kB / 1.322 GB, free: 2.547 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.4661, allocations: 143.9 kB / 1.322 GB, free: 2.406 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.4662, allocations: 136 kB / 1.322 GB, free: 2.273 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.4665, allocations: 292.7 kB / 1.323 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4665, allocations: 4 kB / 1.323 GB, free: 1.98 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003248/0.4668, allocations: 325.5 kB / 1.323 GB, free: 1.656 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4668, allocations: 8.094 kB / 1.323 GB, free: 1.648 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.4668, allocations: 0 / 1.323 GB, free: 1.648 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4669, allocations: 0 / 1.323 GB, free: 1.648 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.4669, allocations: 4 kB / 1.323 GB, free: 1.645 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4669, allocations: 3.984 kB / 1.323 GB, free: 1.641 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.299e-05/0.467, allocations: 0 / 1.323 GB, free: 1.641 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.467, allocations: 0 / 1.323 GB, free: 1.641 MB / 1.014 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.0001621/0.4672, allocations: 173.8 kB / 1.323 GB, free: 1.461 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.4672, allocations: 3.938 kB / 1.323 GB, free: 1.457 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.4676, allocations: 328.5 kB / 1.323 GB, free: 1.133 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4676, allocations: 0 / 1.323 GB, free: 1.133 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4676, allocations: 0 / 1.323 GB, free: 1.133 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4676, allocations: 0 / 1.323 GB, free: 1.133 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.4679, allocations: 268.6 kB / 1.324 GB, free: 0.8281 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4679, allocations: 3.938 kB / 1.324 GB, free: 0.8242 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.4679, allocations: 0 / 1.324 GB, free: 0.8242 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4679, allocations: 0 / 1.324 GB, free: 0.8242 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.4679, allocations: 0 / 1.324 GB, free: 0.8242 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.4679, allocations: 4 kB / 1.324 GB, free: 0.8203 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4679, allocations: 32 / 1.324 GB, free: 0.8203 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.4682, allocations: 348.9 kB / 1.324 GB, free: 472 kB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.027e-06/0.4682, allocations: 0 / 1.324 GB, free: 472 kB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.4683, allocations: 0 / 1.324 GB, free: 472 kB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.4683, allocations: 0 / 1.324 GB, free: 472 kB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.4683, allocations: 0 / 1.324 GB, free: 472 kB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4683, allocations: 4 kB / 1.324 GB, free: 468 kB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001173/0.4685, allocations: 151.3 kB / 1.324 GB, free: 316 kB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4685, allocations: 0 / 1.324 GB, free: 316 kB / 1.014 GB
Notification: Performance of remove unused functions: time 0.001633/0.4701, allocations: 0.5804 MB / 1.325 GB, free: 15.73 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 (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.002682/0.4728, allocations: 0.9321 MB / 1.326 GB, free: 14.89 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0003601/0.4731, allocations: 287.9 kB / 1.326 GB, free: 14.61 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4731, allocations: 0 / 1.326 GB, free: 14.61 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.000178/0.4733, allocations: 165.6 kB / 1.326 GB, free: 14.44 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.4735, allocations: 19.81 kB / 1.326 GB, free: 14.42 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.4749, allocations: 0.9337 MB / 1.327 GB, free: 13.46 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.4754, allocations: 0.8146 MB / 1.328 GB, free: 12.62 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 2.27e-05/0.4754, allocations: 8 kB / 1.328 GB, free: 12.61 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.4754, allocations: 11.44 kB / 1.328 GB, free: 12.6 MB / 1.029 GB
Notification: Performance of SimCode: time 4.51e-07/0.4754, allocations: 0 / 1.328 GB, free: 12.6 MB / 1.029 GB
Notification: Performance of Templates: time 0.02335/0.4988, allocations: 12.48 MB / 1.34 GB, free: 168 kB / 1.029 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/jenkins/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: 10.672342571429908]