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.001325/0.001325, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001513/0.001513, allocations: 208.3 kB / 22.99 MB, free: 4.984 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.189/3.189, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.002028/0.002028, allocations: 71.39 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3438, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002487/0.3463, allocations: 1.294 MB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007617/0.3539, allocations: 4.141 MB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.3539, allocations: 4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.961e-05/0.354, allocations: 0 / 1.332 GB, free: 11.5 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.004745/0.3587, allocations: 1.627 MB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.3588, allocations: 35.84 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.833e-05/0.3589, allocations: 11.98 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.369e-05/0.359, allocations: 4 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.359, allocations: 7.984 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.359, allocations: 29.22 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.3591, allocations: 0 / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004215/0.3633, allocations: 2.609 MB / 1.337 GB, free: 7.172 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.3634, allocations: 149.2 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.3635, allocations: 0 / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.3662, allocations: 1.758 MB / 1.339 GB, free: 5.266 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3662, allocations: 0 / 1.339 GB, free: 5.266 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3662, allocations: 0 / 1.339 GB, free: 5.266 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3662, allocations: 0 / 1.339 GB, free: 5.266 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.001135/0.3673, allocations: 0.5633 MB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.3674, allocations: 8.031 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.3674, allocations: 0.9375 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.3676, allocations: 114.5 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3676, allocations: 384 / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3676, allocations: 4.125 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3679, allocations: 177.6 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3679, allocations: 0 / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3679, allocations: 0 / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3679, allocations: 0 / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.3682, allocations: 279.9 kB / 1.34 GB, free: 4.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.3685, allocations: 245.2 kB / 1.34 GB, free: 3.801 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.3687, allocations: 154.5 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3688, allocations: 152.9 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.3688, allocations: 0 / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.3688, allocations: 34.5 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3688, allocations: 4 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0004742/0.3693, allocations: 457.5 kB / 1.341 GB, free: 2.988 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3693, allocations: 51.41 kB / 1.341 GB, free: 2.926 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3695, allocations: 169.8 kB / 1.341 GB, free: 2.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3695, allocations: 25.7 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.3695, allocations: 80.14 kB / 1.341 GB, free: 2.637 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.3695, allocations: 0 / 1.341 GB, free: 2.637 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.3696, allocations: 13.72 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3697, allocations: 310.8 kB / 1.341 GB, free: 2.305 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3698, allocations: 140.2 kB / 1.341 GB, free: 2.168 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3699, allocations: 147.9 kB / 1.342 GB, free: 2.023 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.3702, allocations: 292.7 kB / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3702, allocations: 0 / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002783/0.3705, allocations: 325.4 kB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3705, allocations: 4 kB / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3705, allocations: 0 / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3705, allocations: 0 / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.3706, allocations: 0 / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3706, allocations: 4 kB / 1.342 GB, free: 1.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.3706, allocations: 4.094 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3706, allocations: 0 / 1.342 GB, free: 1.398 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.0001205/0.3708, allocations: 166.3 kB / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.3708, allocations: 7.938 kB / 1.342 GB, free: 1.219 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.3711, allocations: 324.5 kB / 1.343 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-06/0.3711, allocations: 3.984 kB / 1.343 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3711, allocations: 0 / 1.343 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3711, allocations: 7.922 kB / 1.343 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3713, allocations: 237.3 kB / 1.343 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3713, allocations: 0 / 1.343 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3713, allocations: 4.031 kB / 1.343 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3714, allocations: 3.938 kB / 1.343 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3714, allocations: 4 kB / 1.343 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3714, allocations: 0 / 1.343 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3714, allocations: 0 / 1.343 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.3716, allocations: 341 kB / 1.343 GB, free: 260 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.3717, allocations: 3.953 kB / 1.343 GB, free: 256 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.3717, allocations: 3.938 kB / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.3718, allocations: 0 / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.3718, allocations: 0 / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3718, allocations: 8.031 kB / 1.343 GB, free: 244 kB / 1.029 GB Notification: Performance of sorting global known variables: time 9.435e-05/0.3719, allocations: 151.2 kB / 1.343 GB, free: 92 kB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3719, allocations: 0 / 1.343 GB, free: 92 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.001287/0.3732, allocations: 0.5844 MB / 1.344 GB, free: 15.5 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.002545/0.3758, allocations: 0.9328 MB / 1.345 GB, free: 14.67 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.3761, allocations: 279.9 kB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3761, allocations: 0 / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.3762, allocations: 173.7 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.3765, allocations: 8.703 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3778, allocations: 0.985 MB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.378, allocations: 209.1 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.378, allocations: 4 kB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.3781, allocations: 19.42 kB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.3781, allocations: 0 / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of Templates: time 0.02245/0.4005, allocations: 12.96 MB / 1.359 GB, free: 15.99 MB / 1.061 GB " [Timeout remaining time 300] 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 gbode -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: 9.742095944005996]