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.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.001971/0.001971, allocations: 110 kB / 18.93 MB, free: 2.945 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.001948/0.001948, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.52/1.52, allocations: 225.6 MB / 251 MB, free: 13.01 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.855/2.855, allocations: 476.7 MB / 0.7646 GB, free: 9.832 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.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_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: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 71.86 kB / 1.11 GB, free: 6.234 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.209/1.211, allocations: 168.8 MB / 1.274 GB, free: 4.168 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002731/1.214, allocations: 1.272 MB / 1.276 GB, free: 2.891 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.008161/1.222, allocations: 4.559 MB / 1.28 GB, free: 14.31 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/1.222, allocations: 0 / 1.28 GB, free: 14.31 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 7.944e-05/1.222, allocations: 7.922 kB / 1.28 GB, free: 14.3 MB / 0.9825 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'.
[/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.005542/1.228, allocations: 1.601 MB / 1.282 GB, free: 12.7 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001304/1.228, allocations: 39.91 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 9.441e-05/1.228, allocations: 8 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.35e-05/1.228, allocations: 3.984 kB / 1.282 GB, free: 12.65 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/1.228, allocations: 8 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.985e-05/1.228, allocations: 21.27 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 1.527e-05/1.228, allocations: 3.938 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004808/1.233, allocations: 2.698 MB / 1.284 GB, free: 9.918 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002007/1.233, allocations: 149.2 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 3.474e-05/1.233, allocations: 8 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.002903/1.236, allocations: 1.764 MB / 1.286 GB, free: 7.996 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.236, allocations: 3.938 kB / 1.286 GB, free: 7.992 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.863e-06/1.236, allocations: 0 / 1.286 GB, free: 7.992 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 9.989e-06/1.236, allocations: 4 kB / 1.286 GB, free: 7.988 MB / 0.9825 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.001099/1.237, allocations: 0.5539 MB / 1.287 GB, free: 7.402 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/1.237, allocations: 11.98 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/1.237, allocations: 8.859 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/1.237, allocations: 114.5 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/1.237, allocations: 384 / 1.287 GB, free: 7.246 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/1.237, allocations: 4.125 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/1.238, allocations: 173.6 kB / 1.287 GB, free: 7.066 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.238, allocations: 0 / 1.287 GB, free: 7.066 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.238, allocations: 0 / 1.287 GB, free: 7.066 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/1.238, allocations: 0 / 1.287 GB, free: 7.066 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/1.238, allocations: 279.9 kB / 1.287 GB, free: 6.793 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/1.238, allocations: 264.7 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/1.238, allocations: 154.5 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/1.239, allocations: 156.8 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/1.239, allocations: 0 / 1.288 GB, free: 6.176 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/1.239, allocations: 30.56 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=1): time 7.52e-07/1.239, allocations: 0 / 1.288 GB, free: 6.137 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=1): time 0.0005489/1.239, allocations: 461.4 kB / 1.288 GB, free: 5.68 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/1.239, allocations: 55.53 kB / 1.288 GB, free: 5.613 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/1.239, allocations: 169.8 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 1.714e-05/1.239, allocations: 25.7 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/1.239, allocations: 80.14 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/1.239, allocations: 3.953 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/1.24, allocations: 9.719 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001707/1.24, allocations: 314.8 kB / 1.289 GB, free: 4.988 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/1.24, allocations: 144.1 kB / 1.289 GB, free: 4.848 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/1.24, allocations: 143.9 kB / 1.289 GB, free: 4.707 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/1.24, allocations: 284.8 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.24, allocations: 0 / 1.29 GB, free: 4.426 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003102/1.241, allocations: 321.5 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.241, allocations: 4 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.241, allocations: 0 / 1.29 GB, free: 4.102 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.241, allocations: 0 / 1.29 GB, free: 4.102 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/1.241, allocations: 4 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/1.241, allocations: 8.094 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/1.241, allocations: 7.922 kB / 1.29 GB, free: 4.082 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/1.241, allocations: 0 / 1.29 GB, free: 4.082 MB / 0.9825 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.0001372/1.241, allocations: 169.8 kB / 1.29 GB, free: 3.906 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/1.241, allocations: 7.875 kB / 1.29 GB, free: 3.898 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/1.241, allocations: 320.6 kB / 1.29 GB, free: 3.578 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.241, allocations: 0 / 1.29 GB, free: 3.578 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.241, allocations: 0 / 1.29 GB, free: 3.578 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/1.241, allocations: 4.031 kB / 1.29 GB, free: 3.574 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/1.241, allocations: 264.6 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.241, allocations: 0 / 1.291 GB, free: 3.273 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/1.241, allocations: 3.938 kB / 1.291 GB, free: 3.27 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/1.241, allocations: 0 / 1.291 GB, free: 3.27 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/1.241, allocations: 4 kB / 1.291 GB, free: 3.266 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.241, allocations: 0 / 1.291 GB, free: 3.266 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.241, allocations: 0 / 1.291 GB, free: 3.266 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/1.242, allocations: 345 kB / 1.291 GB, free: 2.91 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/1.242, allocations: 0 / 1.291 GB, free: 2.91 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/1.242, allocations: 0 / 1.291 GB, free: 2.91 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/1.242, allocations: 0 / 1.291 GB, free: 2.91 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/1.242, allocations: 3.984 kB / 1.291 GB, free: 2.906 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/1.242, allocations: 4 kB / 1.291 GB, free: 2.902 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0001018/1.242, allocations: 151.2 kB / 1.291 GB, free: 2.754 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/1.242, allocations: 0 / 1.291 GB, free: 2.754 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.001293/1.243, allocations: 0.5726 MB / 1.292 GB, free: 2.18 MB / 0.9825 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.00259/1.246, allocations: 0.9399 MB / 1.293 GB, free: 1.332 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0003446/1.246, allocations: 283.8 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.246, allocations: 0 / 1.293 GB, free: 1.055 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001689/1.246, allocations: 169.6 kB / 1.293 GB, free: 0.8828 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/1.247, allocations: 12 kB / 1.293 GB, free: 0.8711 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/1.248, allocations: 0.9375 MB / 1.294 GB, free: 15.91 MB / 0.9981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/1.249, allocations: 0.8185 MB / 1.295 GB, free: 15.06 MB / 0.9981 GB
Notification: Performance of simCode: alias equations: time 1.912e-05/1.249, allocations: 0 / 1.295 GB, free: 15.06 MB / 0.9981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/1.249, allocations: 15.42 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB
Notification: Performance of SimCode: time 3.2e-07/1.249, allocations: 4 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB
Notification: Performance of Templates: time 0.0226/1.271, allocations: 12.38 MB / 1.307 GB, free: 2.703 MB / 0.9981 GB
"
[Timeout remaining time 299]
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/jenkins/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: 10.75017582718283]