Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.744/2.744, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 1.057 GB, free: 1.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3714, allocations: 160.7 MB / 1.214 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002517/0.3739, allocations: 1.271 MB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007436/0.3814, allocations: 4.512 MB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.3814, allocations: 0 / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.391e-05/0.3815, allocations: 4 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 10.1.1-maint.10.0.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.004691/0.3862, allocations: 1.504 MB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.3863, allocations: 39.84 kB / 1.221 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.81e-05/0.3864, allocations: 15.92 kB / 1.221 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.3864, allocations: 0 / 1.221 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.365e-05/0.3864, allocations: 4 kB / 1.221 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.3865, allocations: 25.27 kB / 1.221 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.3865, allocations: 3.938 kB / 1.221 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004365/0.3909, allocations: 2.387 MB / 1.224 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.3911, allocations: 153.2 kB / 1.224 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.3911, allocations: 4 kB / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.3944, allocations: 1.73 MB / 1.225 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3944, allocations: 0 / 1.225 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3944, allocations: 0 / 1.225 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3944, allocations: 0 / 1.225 GB, free: 5.16 MB / 0.9669 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.001033/0.3954, allocations: 0.6486 MB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3955, allocations: 15.98 kB / 1.226 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.3955, allocations: 0.9375 kB / 1.226 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3957, allocations: 164.4 kB / 1.226 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3957, allocations: 4.375 kB / 1.226 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3957, allocations: 4.125 kB / 1.226 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.3959, allocations: 169.6 kB / 1.226 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3959, allocations: 0 / 1.226 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.396, allocations: 0 / 1.226 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.396, allocations: 8 kB / 1.226 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/0.3962, allocations: 275.9 kB / 1.227 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.3965, allocations: 289.6 kB / 1.227 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.3967, allocations: 154.5 kB / 1.227 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.3968, allocations: 152.8 kB / 1.227 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3968, allocations: 3.984 kB / 1.227 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.3969, allocations: 42.5 kB / 1.227 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3969, allocations: 0 / 1.227 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0004884/0.3973, allocations: 449.5 kB / 1.228 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.3974, allocations: 55.39 kB / 1.228 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3975, allocations: 169.8 kB / 1.228 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3976, allocations: 29.64 kB / 1.228 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.3976, allocations: 84.12 kB / 1.228 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.3976, allocations: 0 / 1.228 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3977, allocations: 21.97 kB / 1.228 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3978, allocations: 310.8 kB / 1.228 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3979, allocations: 139.9 kB / 1.229 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.398, allocations: 143.9 kB / 1.229 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.3983, allocations: 288.7 kB / 1.229 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3983, allocations: 4 kB / 1.229 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002763/0.3985, allocations: 317.5 kB / 1.229 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3986, allocations: 5.969 kB / 1.229 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3986, allocations: 4 kB / 1.229 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3986, allocations: 4 kB / 1.229 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.3987, allocations: 0 / 1.229 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3987, allocations: 3.938 kB / 1.229 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.3987, allocations: 3.953 kB / 1.229 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3987, allocations: 0 / 1.229 GB, free: 1.039 MB / 0.9669 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.0001285/0.3989, allocations: 169.8 kB / 1.229 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.3989, allocations: 3.938 kB / 1.229 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.3992, allocations: 328.6 kB / 1.23 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3992, allocations: 0 / 1.23 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3992, allocations: 0 / 1.23 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3992, allocations: 4 kB / 1.23 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.3995, allocations: 289.5 kB / 1.23 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3995, allocations: 0 / 1.23 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.3995, allocations: 0 / 1.23 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3995, allocations: 0 / 1.23 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3995, allocations: 4 kB / 1.23 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3995, allocations: 0 / 1.23 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3995, allocations: 0 / 1.23 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.3998, allocations: 348.9 kB / 1.23 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.3999, allocations: 77.11 kB / 1.23 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.3999, allocations: 0 / 1.23 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.4, allocations: 0 / 1.23 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.4, allocations: 0 / 1.23 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.4, allocations: 4 kB / 1.23 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001036/0.4001, allocations: 159.2 kB / 1.231 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4001, allocations: 0 / 1.231 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001447/0.4016, allocations: 0.5803 MB / 1.231 GB, free: 15 MB / 0.9825 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.002601/0.4042, allocations: 0.9323 MB / 1.232 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.4045, allocations: 283.9 kB / 1.232 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4045, allocations: 4 kB / 1.232 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.4047, allocations: 177.5 kB / 1.233 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.4049, allocations: 7.922 kB / 1.233 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.4056, allocations: 431 kB / 1.233 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4059, allocations: 0.669 MB / 1.234 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.4059, allocations: 15.42 kB / 1.234 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.4059, allocations: 0 / 1.234 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of Templates: time 0.02274/0.4286, allocations: 12.21 MB / 1.246 GB, free: 344 kB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.234791981987655]