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.001682/0.001682, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002009/0.002009, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.785 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.982/2.982, allocations: 476 MB / 0.7699 GB, free: 4.789 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.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.002256/0.002256, allocations: 69.5 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4375, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002906/0.4404, allocations: 1.293 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008334/0.4488, allocations: 4.133 MB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.4488, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.159e-05/0.4489, allocations: 0 / 1.288 GB, free: 6.465 MB / 0.9825 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.005336/0.4542, allocations: 1.592 MB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.4543, allocations: 43.8 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.434e-05/0.4544, allocations: 15.92 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.4545, allocations: 0 / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.4545, allocations: 8 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.4546, allocations: 25.27 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.4546, allocations: 0 / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005359/0.46, allocations: 2.418 MB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.4602, allocations: 157.2 kB / 1.293 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.4602, allocations: 3.938 kB / 1.293 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004371/0.4646, allocations: 1.73 MB / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4646, allocations: 0 / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4646, allocations: 0 / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.4646, allocations: 0 / 1.294 GB, free: 476 kB / 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.001771/0.4664, allocations: 0.5655 MB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.4664, allocations: 8.031 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.4665, allocations: 4.938 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.4667, allocations: 110.5 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4667, allocations: 384 / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.4667, allocations: 4.125 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.467, allocations: 181.5 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.467, allocations: 0 / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.467, allocations: 0 / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.467, allocations: 0 / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.4673, allocations: 279.9 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.4677, allocations: 237.3 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.4679, allocations: 162.5 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.468, allocations: 144.9 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.468, allocations: 7.938 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.4681, allocations: 34.5 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.4681, allocations: 0 / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0005929/0.4687, allocations: 453.5 kB / 1.296 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.4687, allocations: 51.41 kB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.4689, allocations: 165.8 kB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.469, allocations: 29.95 kB / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.469, allocations: 88.12 kB / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.4691, allocations: 3.953 kB / 1.297 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.4691, allocations: 13.72 kB / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4693, allocations: 310.8 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.4694, allocations: 139.9 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.4696, allocations: 143.9 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.4699, allocations: 292.7 kB / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4699, allocations: 0 / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003123/0.4702, allocations: 313.5 kB / 1.298 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4702, allocations: 13.97 kB / 1.298 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4702, allocations: 0 / 1.298 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.4702, allocations: 0 / 1.298 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.4703, allocations: 4 kB / 1.298 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4703, allocations: 3.984 kB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.4704, allocations: 0 / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4704, allocations: 4 kB / 1.298 GB, free: 12.59 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.0001559/0.4706, allocations: 173.7 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.4706, allocations: 3.938 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.471, allocations: 320.6 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.471, allocations: 8.031 kB / 1.298 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.471, allocations: 0 / 1.298 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.471, allocations: 3.938 kB / 1.298 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.4712, allocations: 233.3 kB / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.4712, allocations: 4 kB / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.4712, allocations: 0 / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4712, allocations: 3.938 kB / 1.299 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.4713, allocations: 3.984 kB / 1.299 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4713, allocations: 3.938 kB / 1.299 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4713, allocations: 0 / 1.299 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.4716, allocations: 345 kB / 1.299 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.4716, allocations: 7.984 kB / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.4717, allocations: 3.938 kB / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.4718, allocations: 0 / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.4718, allocations: 0 / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.4718, allocations: 0 / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000154/0.4719, allocations: 155.2 kB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4719, allocations: 0 / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001912/0.4739, allocations: 0.5687 MB / 1.3 GB, free: 10.71 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.00372/0.4776, allocations: 0.9387 MB / 1.301 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.4779, allocations: 287.9 kB / 1.301 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4779, allocations: 0 / 1.301 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.4781, allocations: 169.6 kB / 1.301 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.4783, allocations: 5.719 kB / 1.301 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.4799, allocations: 0.988 MB / 1.302 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.4801, allocations: 213.1 kB / 1.302 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.4801, allocations: 4 kB / 1.302 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.4802, allocations: 11.44 kB / 1.302 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.4802, allocations: 0 / 1.302 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of Templates: time 0.025/0.5052, allocations: 12.85 MB / 1.315 GB, free: 11.32 MB / 1.014 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: 11.131547842174768]