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.001359/0.001359, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001414/0.001414, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.463/1.463, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.846/2.846, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002151/0.002151, allocations: 63.91 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9731/0.9752, allocations: 176.1 MB / 1.154 GB, free: 33.4 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002012/0.9773, allocations: 1.273 MB / 1.155 GB, free: 32.52 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005553/0.9828, allocations: 4.159 MB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.9828, allocations: 0 / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.73e-05/0.9829, allocations: 0 / 1.159 GB, free: 29.95 MB / 1.076 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.00345/0.9863, allocations: 1.597 MB / 1.161 GB, free: 29.33 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 8.05e-05/0.9864, allocations: 48.88 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.341e-05/0.9865, allocations: 10.16 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.9865, allocations: 3.062 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.692e-05/0.9865, allocations: 2.906 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.9866, allocations: 26.77 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.9866, allocations: 0 / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.9896, allocations: 2.443 MB / 1.163 GB, free: 28.64 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.9897, allocations: 156.3 kB / 1.163 GB, free: 28.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.9897, allocations: 2.625 kB / 1.163 GB, free: 28.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.9916, allocations: 1.746 MB / 1.165 GB, free: 28.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.9916, allocations: 0 / 1.165 GB, free: 28.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9917, allocations: 0 / 1.165 GB, free: 28.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9917, allocations: 2.312 kB / 1.165 GB, free: 28.18 MB / 1.076 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.0006986/0.9924, allocations: 0.558 MB / 1.166 GB, free: 27.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.9924, allocations: 9.969 kB / 1.166 GB, free: 27.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.9924, allocations: 8.812 kB / 1.166 GB, free: 27.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.34e-05/0.9925, allocations: 116.5 kB / 1.166 GB, free: 27.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.9925, allocations: 6.625 kB / 1.166 GB, free: 27.58 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.9925, allocations: 4.125 kB / 1.166 GB, free: 27.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.9927, allocations: 168 kB / 1.166 GB, free: 27.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.9927, allocations: 0 / 1.166 GB, free: 27.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.9927, allocations: 0 / 1.166 GB, free: 27.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.9927, allocations: 0 / 1.166 GB, free: 27.54 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.9929, allocations: 279.2 kB / 1.166 GB, free: 27.54 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.9931, allocations: 241.4 kB / 1.166 GB, free: 27.42 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.9932, allocations: 165.7 kB / 1.167 GB, free: 27.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.9933, allocations: 148.3 kB / 1.167 GB, free: 27.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.9933, allocations: 3.984 kB / 1.167 GB, free: 27.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.9933, allocations: 34.5 kB / 1.167 GB, free: 27.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.9933, allocations: 0 / 1.167 GB, free: 27.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0003194/0.9936, allocations: 453.1 kB / 1.167 GB, free: 27.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.9937, allocations: 51.41 kB / 1.167 GB, free: 27.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.9938, allocations: 170.2 kB / 1.167 GB, free: 27.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.9938, allocations: 25.7 kB / 1.168 GB, free: 27.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.26e-05/0.9938, allocations: 83.2 kB / 1.168 GB, free: 27.01 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.9938, allocations: 256 / 1.168 GB, free: 27.01 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.9938, allocations: 20.5 kB / 1.168 GB, free: 26.99 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.9939, allocations: 314.8 kB / 1.168 GB, free: 26.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.9939, allocations: 140.8 kB / 1.168 GB, free: 26.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.994, allocations: 137.8 kB / 1.168 GB, free: 26.67 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.9944, allocations: 286.7 kB / 1.168 GB, free: 26.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9944, allocations: 0.5 kB / 1.168 GB, free: 26.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004616/0.9949, allocations: 317.2 kB / 1.169 GB, free: 26.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.9949, allocations: 5.25 kB / 1.169 GB, free: 26.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9949, allocations: 0 / 1.169 GB, free: 26.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.9949, allocations: 4.625 kB / 1.169 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.995, allocations: 2.031 kB / 1.169 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.995, allocations: 4.438 kB / 1.169 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.995, allocations: 0.5312 kB / 1.169 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.9951, allocations: 0.5312 kB / 1.169 GB, free: 26.62 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.0001041/0.9952, allocations: 174.7 kB / 1.169 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.9952, allocations: 7.875 kB / 1.169 GB, free: 26.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.9955, allocations: 315 kB / 1.169 GB, free: 26.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9955, allocations: 3.469 kB / 1.169 GB, free: 26.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.9955, allocations: 5.281 kB / 1.169 GB, free: 26.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.9955, allocations: 4 kB / 1.169 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.9957, allocations: 237.8 kB / 1.169 GB, free: 26.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.9957, allocations: 3.938 kB / 1.169 GB, free: 26.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.9957, allocations: 1 kB / 1.169 GB, free: 26.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.9957, allocations: 7.266 kB / 1.169 GB, free: 26.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.9957, allocations: 1.312 kB / 1.169 GB, free: 26.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9957, allocations: 0 / 1.169 GB, free: 26.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9957, allocations: 1 kB / 1.169 GB, free: 26.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.9959, allocations: 337.8 kB / 1.17 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-06/0.9959, allocations: 3.953 kB / 1.17 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.996, allocations: 9 kB / 1.17 GB, free: 26.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.096e-05/0.9961, allocations: 4 kB / 1.17 GB, free: 26.24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.9961, allocations: 1.094 kB / 1.17 GB, free: 26.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.9961, allocations: 1 kB / 1.17 GB, free: 26.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.134e-05/0.9961, allocations: 151.9 kB / 1.17 GB, free: 26.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9961, allocations: 0 / 1.17 GB, free: 26.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001186/0.9973, allocations: 0.5797 MB / 1.171 GB, free: 26.03 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.002206/0.9995, allocations: 0.9429 MB / 1.171 GB, free: 25.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.9999, allocations: 291.7 kB / 1.172 GB, free: 25.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9999, allocations: 1.375 kB / 1.172 GB, free: 25.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/1, allocations: 167.7 kB / 1.172 GB, free: 25.64 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/1, allocations: 1.812 kB / 1.172 GB, free: 25.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/1.002, allocations: 0.9781 MB / 1.173 GB, free: 25.25 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/1.002, allocations: 216.1 kB / 1.173 GB, free: 25.17 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.999e-05/1.002, allocations: 1.5 kB / 1.173 GB, free: 25.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/1.002, allocations: 12.91 kB / 1.173 GB, free: 25.16 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.002, allocations: 0 / 1.173 GB, free: 25.16 MB / 1.076 GB Notification: Performance of Templates: time 0.02497/1.027, allocations: 12.55 MB / 1.185 GB, free: 24.14 MB / 1.076 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 ida -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: 10.269649822963402]