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.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.001656/0.001656, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00181/0.00181, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.59/3.59, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002163/0.002163, allocations: 64.06 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4849, allocations: 181.9 MB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002916/0.4878, allocations: 1.294 MB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008246/0.496, allocations: 4.128 MB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.4961, allocations: 0 / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.53e-05/0.4961, allocations: 0 / 1.369 GB, free: 8.258 MB / 1.061 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.005252/0.5014, allocations: 1.603 MB / 1.371 GB, free: 6.648 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.5015, allocations: 43.83 kB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.048e-05/0.5016, allocations: 12 kB / 1.371 GB, free: 6.594 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.5016, allocations: 0 / 1.371 GB, free: 6.594 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.5017, allocations: 7.984 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.5017, allocations: 25.27 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.5018, allocations: 0 / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004612/0.5064, allocations: 2.445 MB / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.5065, allocations: 149.2 kB / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.5066, allocations: 7.938 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002762/0.5093, allocations: 1.746 MB / 1.375 GB, free: 2.207 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5093, allocations: 0 / 1.375 GB, free: 2.207 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.7e-06/0.5094, allocations: 3.984 kB / 1.375 GB, free: 2.203 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5094, allocations: 4 kB / 1.375 GB, free: 2.199 MB / 1.061 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.0009381/0.5103, allocations: 0.5539 MB / 1.376 GB, free: 1.613 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5103, allocations: 8.031 kB / 1.376 GB, free: 1.605 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5104, allocations: 0.9375 kB / 1.376 GB, free: 1.605 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.5105, allocations: 110.5 kB / 1.376 GB, free: 1.473 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.5105, allocations: 384 / 1.376 GB, free: 1.473 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.5106, allocations: 4.125 kB / 1.376 GB, free: 1.469 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.5108, allocations: 173.6 kB / 1.376 GB, free: 1.293 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5108, allocations: 0 / 1.376 GB, free: 1.293 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5108, allocations: 0 / 1.376 GB, free: 1.293 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5108, allocations: 7.938 kB / 1.376 GB, free: 1.285 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.5111, allocations: 279.9 kB / 1.376 GB, free: 1.012 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.5114, allocations: 237.3 kB / 1.376 GB, free: 0.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.5116, allocations: 158.5 kB / 1.377 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.5117, allocations: 144.9 kB / 1.377 GB, free: 452 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.5117, allocations: 4 kB / 1.377 GB, free: 448 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.5118, allocations: 42.44 kB / 1.377 GB, free: 396 kB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5118, allocations: 0 / 1.377 GB, free: 396 kB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0005683/0.5123, allocations: 449.5 kB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.5124, allocations: 51.53 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.5126, allocations: 177.8 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.5126, allocations: 25.7 kB / 1.377 GB, free: 15.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.5127, allocations: 80.14 kB / 1.377 GB, free: 15.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.5127, allocations: 7.891 kB / 1.377 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.5127, allocations: 13.72 kB / 1.378 GB, free: 15.55 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5129, allocations: 310.8 kB / 1.378 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.513, allocations: 143.9 kB / 1.378 GB, free: 15.1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.5132, allocations: 144 kB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.5134, allocations: 296.9 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5134, allocations: 4 kB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003156/0.5138, allocations: 313.5 kB / 1.379 GB, free: 14.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5138, allocations: 8 kB / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.5138, allocations: 0 / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5138, allocations: 0 / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.5139, allocations: 0 / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5139, allocations: 0 / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.514, allocations: 4 kB / 1.379 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.514, allocations: 0 / 1.379 GB, free: 14.34 MB / 1.076 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.0001349/0.5141, allocations: 169.8 kB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.5141, allocations: 3.938 kB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.5145, allocations: 332.5 kB / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5145, allocations: 0 / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5145, allocations: 0 / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5145, allocations: 0 / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.5147, allocations: 233.3 kB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5148, allocations: 4 kB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-06/0.5148, allocations: 7.922 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5148, allocations: 7.922 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.5148, allocations: 0 / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.5148, allocations: 4.031 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5148, allocations: 3.984 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.5151, allocations: 341 kB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.5151, allocations: 4 kB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.5152, allocations: 3.938 kB / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.5153, allocations: 0 / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.5153, allocations: 0 / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.5153, allocations: 0 / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001149/0.5154, allocations: 155.2 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5154, allocations: 128 / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001327/0.5167, allocations: 0.5726 MB / 1.38 GB, free: 12.46 MB / 1.076 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.002602/0.5193, allocations: 0.9452 MB / 1.381 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.5197, allocations: 279.9 kB / 1.382 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5197, allocations: 3.938 kB / 1.382 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.5198, allocations: 169.6 kB / 1.382 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.5201, allocations: 3.938 kB / 1.382 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.5215, allocations: 0.9841 MB / 1.383 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.5217, allocations: 213.1 kB / 1.383 GB, free: 9.918 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.5217, allocations: 0 / 1.383 GB, free: 9.918 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.5218, allocations: 11.44 kB / 1.383 GB, free: 9.906 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/0.5218, allocations: 4 kB / 1.383 GB, free: 9.902 MB / 1.076 GB Notification: Performance of Templates: time 0.02351/0.5453, allocations: 12.93 MB / 1.396 GB, free: 13 MB / 1.092 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: 11.328400561586022]