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.001719/0.001719, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.0025/0.0025, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.642/1.642, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.058/3.058, allocations: 476 MB / 0.7707 GB, free: 4.707 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.002106/0.002106, allocations: 64.55 kB / 1.118 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4285, allocations: 169.9 MB / 1.284 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.003819/0.4323, allocations: 1.289 MB / 1.285 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009863/0.4422, allocations: 4.135 MB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.4422, allocations: 0 / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.877e-05/0.4423, allocations: 3.984 kB / 1.289 GB, free: 14.21 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.006304/0.4486, allocations: 1.592 MB / 1.291 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.4488, allocations: 39.8 kB / 1.291 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.4488, allocations: 11.94 kB / 1.291 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.724e-05/0.4489, allocations: 4 kB / 1.291 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.4489, allocations: 7.938 kB / 1.291 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.449, allocations: 29.25 kB / 1.291 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.449, allocations: 0 / 1.291 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004581/0.4536, allocations: 2.414 MB / 1.293 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.4538, allocations: 153.2 kB / 1.293 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.4538, allocations: 3.984 kB / 1.293 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.4568, allocations: 1.734 MB / 1.295 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4568, allocations: 0 / 1.295 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4569, allocations: 0 / 1.295 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.4569, allocations: 0 / 1.295 GB, free: 8.215 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.001053/0.4579, allocations: 0.5655 MB / 1.296 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.458, allocations: 12.03 kB / 1.296 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.458, allocations: 0.9375 kB / 1.296 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.4581, allocations: 110.5 kB / 1.296 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4581, allocations: 384 / 1.296 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.4582, allocations: 4.125 kB / 1.296 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.4584, allocations: 169.6 kB / 1.296 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4584, allocations: 0 / 1.296 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4584, allocations: 0 / 1.296 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4584, allocations: 0 / 1.296 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.4587, allocations: 291.8 kB / 1.296 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.459, allocations: 241.3 kB / 1.296 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.4592, allocations: 150.5 kB / 1.296 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.4593, allocations: 148.9 kB / 1.297 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.4593, allocations: 0 / 1.297 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.4594, allocations: 38.5 kB / 1.297 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.4594, allocations: 0 / 1.297 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0005216/0.4599, allocations: 457.5 kB / 1.297 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.4599, allocations: 51.41 kB / 1.297 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.4601, allocations: 170 kB / 1.297 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.4601, allocations: 29.73 kB / 1.297 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.4602, allocations: 80.14 kB / 1.297 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.4602, allocations: 3.953 kB / 1.297 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.4602, allocations: 17.66 kB / 1.297 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4604, allocations: 310.8 kB / 1.298 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.4605, allocations: 143.9 kB / 1.298 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.4607, allocations: 143.9 kB / 1.298 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.4609, allocations: 288.8 kB / 1.298 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4609, allocations: 0 / 1.298 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003171/0.4613, allocations: 321.5 kB / 1.299 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4613, allocations: 8 kB / 1.299 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4613, allocations: 0 / 1.299 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4613, allocations: 0 / 1.299 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.4614, allocations: 0 / 1.299 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4614, allocations: 4 kB / 1.299 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.4614, allocations: 0 / 1.299 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4614, allocations: 0 / 1.299 GB, free: 4.348 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.0001483/0.4616, allocations: 165.8 kB / 1.299 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.4616, allocations: 11.92 kB / 1.299 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.462, allocations: 328.5 kB / 1.299 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.462, allocations: 3.984 kB / 1.299 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.462, allocations: 4 kB / 1.299 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.462, allocations: 0 / 1.299 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.4622, allocations: 237.3 kB / 1.299 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4622, allocations: 0 / 1.299 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.4622, allocations: 0 / 1.299 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4623, allocations: 3.938 kB / 1.299 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.4623, allocations: 0 / 1.299 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4623, allocations: 0 / 1.299 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4623, allocations: 0 / 1.299 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.4626, allocations: 345 kB / 1.3 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.4626, allocations: 0 / 1.3 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.4627, allocations: 3.938 kB / 1.3 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.4627, allocations: 0 / 1.3 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.4627, allocations: 3.938 kB / 1.3 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.4627, allocations: 4 kB / 1.3 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001156/0.4629, allocations: 151.2 kB / 1.3 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4629, allocations: 0 / 1.3 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001604/0.4645, allocations: 0.5764 MB / 1.3 GB, free: 2.473 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.00254/0.467, allocations: 0.9389 MB / 1.301 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.4673, allocations: 279.9 kB / 1.302 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4673, allocations: 3.938 kB / 1.302 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.4675, allocations: 169.6 kB / 1.302 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.4677, allocations: 3.938 kB / 1.302 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.4684, allocations: 439.1 kB / 1.302 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.2e-05/0.4685, allocations: 63.42 kB / 1.302 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.4685, allocations: 15.42 kB / 1.302 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.4685, allocations: 0 / 1.302 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of Templates: time 0.02334/0.4918, allocations: 12.4 MB / 1.314 GB, free: 4.227 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: 17.725398951675743]