Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001404/0.001404, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001459/0.001459, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 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 0.9209/0.9209, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.775/1.775, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 448 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.616e-05, allocations: 10.5 kB / 0.7872 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001007/0.001023, allocations: 0.5781 MB / 0.7877 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005499/0.006522, allocations: 5.036 MB / 0.7926 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.006553, allocations: 4 kB / 0.7926 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.121e-05/0.006604, allocations: 0 / 0.7926 GB, free: 7.152 MB / 0.7448 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.002797/0.009401, allocations: 1.613 MB / 0.7942 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.866e-05/0.00946, allocations: 37.28 kB / 0.7942 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.009506, allocations: 7.984 kB / 0.7943 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.00954, allocations: 3.984 kB / 0.7943 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.009567, allocations: 9.094 kB / 0.7943 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.009596, allocations: 4 kB / 0.7943 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.009607, allocations: 0 / 0.7943 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.01201, allocations: 2.437 MB / 0.7967 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.01211, allocations: 150.7 kB / 0.7968 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.01213, allocations: 4 kB / 0.7968 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.01422, allocations: 2.051 MB / 0.7988 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.01422, allocations: 0 / 0.7988 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.01422, allocations: 0 / 0.7988 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.01423, allocations: 0.9688 kB / 0.7988 GB, free: 0.8398 MB / 0.7448 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.0008052/0.01503, allocations: 0.6533 MB / 0.7994 GB, free: 152 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.01507, allocations: 12.03 kB / 0.7995 GB, free: 140 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.0151, allocations: 3.25 kB / 0.7995 GB, free: 140 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.081e-05/0.01517, allocations: 108.6 kB / 0.7996 GB, free: 4 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.01518, allocations: 4.375 kB / 0.7996 GB, free: 0 / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-06/0.01518, allocations: 384 / 0.7996 GB, free: 0 / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.01533, allocations: 154.2 kB / 0.7997 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.01533, allocations: 7.375 kB / 0.7997 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.01534, allocations: 0 / 0.7997 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.01535, allocations: 0 / 0.7997 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.01547, allocations: 239.9 kB / 0.7999 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.01563, allocations: 228.6 kB / 0.8002 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.01572, allocations: 146.9 kB / 0.8003 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.169e-05/0.01579, allocations: 131.7 kB / 0.8004 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/0.0158, allocations: 0 / 0.8004 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.01582, allocations: 45.33 kB / 0.8005 GB, free: 15 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.01582, allocations: 0.7812 kB / 0.8005 GB, free: 15 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0002797/0.0161, allocations: 397.9 kB / 0.8009 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.01612, allocations: 51.97 kB / 0.8009 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.552e-05/0.01619, allocations: 154.5 kB / 0.8011 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.01619, allocations: 29.7 kB / 0.8011 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.01622, allocations: 128.3 kB / 0.8012 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.01624, allocations: 4.297 kB / 0.8012 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.01626, allocations: 19.38 kB / 0.8012 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.01636, allocations: 496.7 kB / 0.8017 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.01643, allocations: 119.9 kB / 0.8018 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.01649, allocations: 124.8 kB / 0.8019 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.01663, allocations: 252.5 kB / 0.8022 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01663, allocations: 0 / 0.8022 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001541/0.01679, allocations: 278.2 kB / 0.8024 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.0168, allocations: 6 kB / 0.8024 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.0168, allocations: 0 / 0.8024 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.01681, allocations: 7.938 kB / 0.8025 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.588e-05/0.01686, allocations: 0 / 0.8025 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01686, allocations: 0 / 0.8025 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-06/0.01687, allocations: 0 / 0.8025 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.01688, allocations: 7.25 kB / 0.8025 GB, free: 12.91 MB / 0.7605 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 5.76e-05/0.01693, allocations: 156.6 kB / 0.8026 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-06/0.01694, allocations: 3.984 kB / 0.8026 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.01713, allocations: 276.6 kB / 0.8029 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.01713, allocations: 3.938 kB / 0.8029 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01714, allocations: 4 kB / 0.8029 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.01714, allocations: 0 / 0.8029 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.01725, allocations: 228.6 kB / 0.8031 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.01725, allocations: 4.938 kB / 0.8031 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/0.01725, allocations: 3.938 kB / 0.8031 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01725, allocations: 1.031 kB / 0.8031 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.01726, allocations: 0 / 0.8031 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.01726, allocations: 0 / 0.8031 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01726, allocations: 5.062 kB / 0.8031 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.01742, allocations: 308.3 kB / 0.8034 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-06/0.01742, allocations: 5.062 kB / 0.8034 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.01743, allocations: 0 / 0.8034 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-06/0.01744, allocations: 0 / 0.8034 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.01745, allocations: 8.719 kB / 0.8034 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.01745, allocations: 0 / 0.8034 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.01749, allocations: 127.7 kB / 0.8035 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01749, allocations: 0.875 kB / 0.8035 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006981/0.01818, allocations: 0.5452 MB / 0.8041 GB, free: 11.18 MB / 0.7605 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.001558/0.01974, allocations: 1.049 MB / 0.8051 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.01992, allocations: 255.5 kB / 0.8053 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01992, allocations: 0 / 0.8053 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.02001, allocations: 157.3 kB / 0.8055 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.02011, allocations: 0 / 0.8055 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008705/0.02098, allocations: 0.826 MB / 0.8063 GB, free: 8.961 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.02104, allocations: 119.2 kB / 0.8064 GB, free: 8.824 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.38e-05/0.02106, allocations: 0 / 0.8064 GB, free: 8.824 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.02107, allocations: 12.5 kB / 0.8064 GB, free: 8.812 MB / 0.7605 GB Notification: Performance of SimCode: time 5.41e-07/0.02108, allocations: 0 / 0.8064 GB, free: 8.812 MB / 0.7605 GB Notification: Performance of Templates: time 0.01382/0.03489, allocations: 12.57 MB / 0.8187 GB, free: 12.26 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3816282448824495]