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.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.0015/0.0015, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001617/0.001617, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.394/3.394, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: 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.00214/0.00214, allocations: 76.72 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4573, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00334/0.4606, allocations: 1.282 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008003/0.4686, allocations: 4.149 MB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.4687, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.414e-05/0.4687, allocations: 7.984 kB / 1.332 GB, free: 11.54 MB / 1.029 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'. Notification: Performance of NFTyping.typeBindings: time 0.005196/0.4739, allocations: 1.615 MB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.474, allocations: 31.91 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.065e-05/0.4741, allocations: 15.97 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.4742, allocations: 4 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.4742, allocations: 4 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.4742, allocations: 17.28 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.4743, allocations: 8 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004432/0.4787, allocations: 2.605 MB / 1.337 GB, free: 7.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.4789, allocations: 157.2 kB / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.4789, allocations: 4 kB / 1.337 GB, free: 7.074 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.482, allocations: 1.746 MB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.482, allocations: 8 kB / 1.339 GB, free: 5.316 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/0.482, allocations: 0 / 1.339 GB, free: 5.316 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.482, allocations: 0 / 1.339 GB, free: 5.316 MB / 1.029 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.001088/0.4831, allocations: 0.5615 MB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4832, allocations: 12.03 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.4832, allocations: 4.938 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.4833, allocations: 106.5 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4834, allocations: 384 / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.4834, allocations: 4.125 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.4836, allocations: 169.6 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4836, allocations: 4 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.4836, allocations: 0 / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.4836, allocations: 0 / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.4839, allocations: 279.9 kB / 1.34 GB, free: 4.125 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.4842, allocations: 249.2 kB / 1.34 GB, free: 3.852 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.4844, allocations: 162.5 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.4845, allocations: 140.9 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.4845, allocations: 0 / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4846, allocations: 42.48 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.4846, allocations: 0 / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0005149/0.4851, allocations: 457.5 kB / 1.341 GB, free: 3.039 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.4852, allocations: 59.34 kB / 1.341 GB, free: 2.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.4853, allocations: 161.8 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.4853, allocations: 29.7 kB / 1.341 GB, free: 2.766 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.4854, allocations: 80.14 kB / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.4854, allocations: 0 / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.4854, allocations: 13.72 kB / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4856, allocations: 318.8 kB / 1.341 GB, free: 2.344 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.4857, allocations: 136 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.4858, allocations: 148.2 kB / 1.342 GB, free: 2.066 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.4861, allocations: 284.7 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4861, allocations: 4 kB / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002847/0.4864, allocations: 317.5 kB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4864, allocations: 4 kB / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4864, allocations: 4 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4864, allocations: 3.984 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.4865, allocations: 3.984 kB / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4865, allocations: 0 / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.4866, allocations: 0 / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.4866, allocations: 16.02 kB / 1.342 GB, free: 1.434 MB / 1.029 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.0001425/0.4867, allocations: 166.3 kB / 1.342 GB, free: 1.262 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.4867, allocations: 3.938 kB / 1.342 GB, free: 1.258 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.4871, allocations: 320.5 kB / 1.343 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4871, allocations: 0 / 1.343 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4871, allocations: 4 kB / 1.343 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4871, allocations: 0 / 1.343 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.4873, allocations: 237.3 kB / 1.343 GB, free: 0.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.4873, allocations: 0 / 1.343 GB, free: 0.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.4873, allocations: 4 kB / 1.343 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4873, allocations: 11.91 kB / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.4873, allocations: 0 / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.4873, allocations: 0 / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4873, allocations: 0 / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.4877, allocations: 337 kB / 1.343 GB, free: 312 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.4877, allocations: 3.953 kB / 1.343 GB, free: 308 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.4877, allocations: 7.938 kB / 1.343 GB, free: 300 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.4878, allocations: 7.984 kB / 1.343 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.4878, allocations: 0 / 1.343 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.4878, allocations: 0 / 1.343 GB, free: 292 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001117/0.4879, allocations: 155.3 kB / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4879, allocations: 0 / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.00144/0.4894, allocations: 0.5764 MB / 1.344 GB, free: 15.55 MB / 1.045 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.002646/0.492, allocations: 0.9442 MB / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.4924, allocations: 287.8 kB / 1.345 GB, free: 14.43 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4924, allocations: 0 / 1.345 GB, free: 14.43 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.4925, allocations: 173.7 kB / 1.345 GB, free: 14.26 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.4927, allocations: 0 / 1.345 GB, free: 14.26 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.4941, allocations: 0.9763 MB / 1.346 GB, free: 13.25 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.4944, allocations: 217.1 kB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.4944, allocations: 0 / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.4944, allocations: 11.44 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/0.4944, allocations: 4 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of Templates: time 0.02267/0.5171, allocations: 12.97 MB / 1.359 GB, free: 52 kB / 1.045 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 -s cvode -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/jenkins1/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: 11.02910124202026]