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.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.001591/0.001591, allocations: 110.2 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.001877/0.001877, allocations: 188 kB / 22.23 MB, free: 5.164 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.469/1.469, 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 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.323/3.323, allocations: 495.7 MB / 0.7831 GB, free: 33.53 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-master/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_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: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 74.03 kB / 1.137 GB, free: 33.9 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.4812, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.003451/0.4847, allocations: 1.281 MB / 1.308 GB, free: 0.5703 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00903/0.4937, allocations: 4.577 MB / 1.313 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.4937, allocations: 0 / 1.313 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 6.634e-05/0.4938, allocations: 3.938 kB / 1.313 GB, free: 11.97 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.004995/0.4988, allocations: 1.62 MB / 1.314 GB, free: 10.35 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.4989, allocations: 35.89 kB / 1.314 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.499, allocations: 11.98 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.499, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.4991, allocations: 11.94 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.4991, allocations: 29.27 kB / 1.314 GB, free: 10.26 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.4992, allocations: 0 / 1.314 GB, free: 10.26 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004504/0.5037, allocations: 2.714 MB / 1.317 GB, free: 7.539 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.5038, allocations: 145.2 kB / 1.317 GB, free: 7.398 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.5039, allocations: 11.94 kB / 1.317 GB, free: 7.387 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.002867/0.5067, allocations: 1.781 MB / 1.319 GB, free: 5.602 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5067, allocations: 0 / 1.319 GB, free: 5.602 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.763e-06/0.5067, allocations: 0 / 1.319 GB, free: 5.602 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.143e-06/0.5067, allocations: 0 / 1.319 GB, free: 5.602 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.001122/0.5079, allocations: 0.5617 MB / 1.319 GB, free: 5.008 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.5079, allocations: 8.031 kB / 1.319 GB, free: 5 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.508, allocations: 0.9375 kB / 1.319 GB, free: 5 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.5081, allocations: 106.5 kB / 1.32 GB, free: 4.871 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5081, allocations: 384 / 1.32 GB, free: 4.871 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.5081, allocations: 8.125 kB / 1.32 GB, free: 4.863 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.5084, allocations: 173.6 kB / 1.32 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5084, allocations: 0 / 1.32 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.5084, allocations: 0 / 1.32 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5084, allocations: 3.938 kB / 1.32 GB, free: 4.684 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.5087, allocations: 283.9 kB / 1.32 GB, free: 4.406 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.509, allocations: 264.7 kB / 1.32 GB, free: 4.105 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.5092, allocations: 154.5 kB / 1.32 GB, free: 3.945 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.5093, allocations: 156.7 kB / 1.321 GB, free: 3.789 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.5093, allocations: 4 kB / 1.321 GB, free: 3.785 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.5094, allocations: 38.5 kB / 1.321 GB, free: 3.738 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.5094, allocations: 0 / 1.321 GB, free: 3.738 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1): time 0.0005233/0.5099, allocations: 445.5 kB / 1.321 GB, free: 3.297 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.51, allocations: 55.41 kB / 1.321 GB, free: 3.23 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.5101, allocations: 170 kB / 1.321 GB, free: 3.055 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.5102, allocations: 29.7 kB / 1.321 GB, free: 3.02 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.5102, allocations: 80.14 kB / 1.321 GB, free: 2.938 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.5102, allocations: 3.953 kB / 1.321 GB, free: 2.934 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.5103, allocations: 13.7 kB / 1.321 GB, free: 2.914 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001494/0.5104, allocations: 314.8 kB / 1.322 GB, free: 2.598 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.5105, allocations: 139.9 kB / 1.322 GB, free: 2.461 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.5107, allocations: 136 kB / 1.322 GB, free: 2.328 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.5109, allocations: 300.9 kB / 1.322 GB, free: 2.031 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5109, allocations: 0 / 1.322 GB, free: 2.031 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002818/0.5112, allocations: 313.5 kB / 1.323 GB, free: 1.719 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.5112, allocations: 7.984 kB / 1.323 GB, free: 1.711 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5112, allocations: 0 / 1.323 GB, free: 1.711 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5112, allocations: 0 / 1.323 GB, free: 1.711 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.5113, allocations: 8 kB / 1.323 GB, free: 1.703 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5113, allocations: 0 / 1.323 GB, free: 1.703 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.5114, allocations: 0 / 1.323 GB, free: 1.703 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.5114, allocations: 0 / 1.323 GB, free: 1.703 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.0001423/0.5115, allocations: 181.1 kB / 1.323 GB, free: 1.52 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.5116, allocations: 3.938 kB / 1.323 GB, free: 1.516 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.5119, allocations: 324.5 kB / 1.323 GB, free: 1.195 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5119, allocations: 0 / 1.323 GB, free: 1.195 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5119, allocations: 0 / 1.323 GB, free: 1.195 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5119, allocations: 0 / 1.323 GB, free: 1.195 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.5122, allocations: 260.6 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5122, allocations: 0 / 1.323 GB, free: 0.8984 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.5122, allocations: 7.969 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.5122, allocations: 3.984 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.5122, allocations: 0 / 1.323 GB, free: 0.8867 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.5122, allocations: 4 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5122, allocations: 0 / 1.323 GB, free: 0.8828 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.5125, allocations: 344.9 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.5125, allocations: 3.984 kB / 1.324 GB, free: 0.5234 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.5126, allocations: 0 / 1.324 GB, free: 0.5234 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.5127, allocations: 4.031 kB / 1.324 GB, free: 0.5195 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.5127, allocations: 0 / 1.324 GB, free: 0.5195 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.5127, allocations: 7.938 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001008/0.5128, allocations: 151.2 kB / 1.324 GB, free: 372 kB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.5128, allocations: 0 / 1.324 GB, free: 372 kB / 1.014 GB
Notification: Performance of remove unused functions: time 0.001461/0.5142, allocations: 0.5766 MB / 1.324 GB, free: 15.78 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.00264/0.5169, allocations: 0.9296 MB / 1.325 GB, free: 14.95 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0003395/0.5172, allocations: 287.9 kB / 1.326 GB, free: 14.66 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5172, allocations: 4 kB / 1.326 GB, free: 14.66 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.5174, allocations: 165.6 kB / 1.326 GB, free: 14.49 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.5176, allocations: 10.44 kB / 1.326 GB, free: 14.48 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.5189, allocations: 0.9376 MB / 1.327 GB, free: 13.52 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.5194, allocations: 0.8185 MB / 1.327 GB, free: 12.68 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 2.322e-05/0.5195, allocations: 4 kB / 1.327 GB, free: 12.67 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.5195, allocations: 11.44 kB / 1.327 GB, free: 12.66 MB / 1.029 GB
Notification: Performance of SimCode: time 4.01e-07/0.5195, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB
Notification: Performance of Templates: time 0.02264/0.5421, allocations: 12.47 MB / 1.34 GB, free: 232 kB / 1.029 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: 10.694231593050063]