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.001379/0.001379, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001435/0.001435, allocations: 169 kB / 23.82 MB, free: 0.7422 MB / 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.8724/0.8724, allocations: 177.1 MB / 204.2 MB, free: 5.23 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.714/1.714, allocations: 359 MB / 0.6052 GB, free: 10.98 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.603e-06/1.603e-06, allocations: 0 / 0.7871 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.089e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001165/0.001186, allocations: 0.5969 MB / 0.7877 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005463/0.006649, allocations: 5.052 MB / 0.7927 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.006673, allocations: 0 / 0.7927 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.801e-05/0.006731, allocations: 0 / 0.7927 GB, free: 6.75 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.00308/0.009811, allocations: 1.61 MB / 0.7942 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.952e-05/0.009871, allocations: 37.55 kB / 0.7943 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.011e-05/0.009921, allocations: 7.984 kB / 0.7943 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.009956, allocations: 7.938 kB / 0.7943 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.009982, allocations: 0 / 0.7943 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.248e-05/0.01001, allocations: 8.656 kB / 0.7943 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.01002, allocations: 4 kB / 0.7943 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.01301, allocations: 2.492 MB / 0.7967 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.01312, allocations: 149.2 kB / 0.7969 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.01314, allocations: 0.7188 kB / 0.7969 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.01582, allocations: 2.058 MB / 0.7989 GB, free: 408 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.01583, allocations: 1.562 kB / 0.7989 GB, free: 408 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.153e-06/0.01583, allocations: 0 / 0.7989 GB, free: 408 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.01583, allocations: 0 / 0.7989 GB, free: 408 kB / 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.0008208/0.01665, allocations: 0.6494 MB / 0.7995 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.01669, allocations: 13.09 kB / 0.7995 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.01673, allocations: 4.938 kB / 0.7995 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.934e-05/0.01681, allocations: 112.6 kB / 0.7996 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.01682, allocations: 3.656 kB / 0.7997 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.01683, allocations: 384 / 0.7997 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.01698, allocations: 150.2 kB / 0.7998 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.01699, allocations: 3.938 kB / 0.7998 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.017, allocations: 0 / 0.7998 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.017, allocations: 0 / 0.7998 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.01713, allocations: 247.8 kB / 0.8 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.01729, allocations: 228.6 kB / 0.8003 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 9.988e-05/0.01739, allocations: 147.5 kB / 0.8004 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.294e-05/0.01747, allocations: 129.6 kB / 0.8005 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.01747, allocations: 0 / 0.8005 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.01749, allocations: 37.39 kB / 0.8006 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.01749, allocations: 0 / 0.8006 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0002921/0.01779, allocations: 406.2 kB / 0.8009 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.01782, allocations: 51.41 kB / 0.801 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.789e-05/0.01788, allocations: 154.6 kB / 0.8011 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.01789, allocations: 28.52 kB / 0.8012 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.01792, allocations: 126.9 kB / 0.8013 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.01795, allocations: 8.297 kB / 0.8013 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.01797, allocations: 23.36 kB / 0.8013 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01808, allocations: 492.1 kB / 0.8018 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/0.01814, allocations: 116 kB / 0.8019 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.0182, allocations: 123.9 kB / 0.802 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.01834, allocations: 254 kB / 0.8023 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01834, allocations: 0 / 0.8023 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002957/0.01864, allocations: 277.5 kB / 0.8025 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.01865, allocations: 11.94 kB / 0.8025 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01866, allocations: 3.984 kB / 0.8025 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.01867, allocations: 4.906 kB / 0.8025 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.01873, allocations: 0 / 0.8025 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01873, allocations: 0 / 0.8025 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-06/0.01874, allocations: 1.094 kB / 0.8025 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.01875, allocations: 4 kB / 0.8025 GB, free: 12.46 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.787e-05/0.0188, allocations: 153.6 kB / 0.8027 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.01881, allocations: 0 / 0.8027 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.01902, allocations: 284.5 kB / 0.803 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01903, allocations: 9.031 kB / 0.803 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01903, allocations: 0 / 0.803 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.01903, allocations: 0 / 0.803 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.01915, allocations: 229.1 kB / 0.8032 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.01915, allocations: 1.594 kB / 0.8032 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.01916, allocations: 0 / 0.8032 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01916, allocations: 4 kB / 0.8032 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.01917, allocations: 3.984 kB / 0.8032 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01917, allocations: 0 / 0.8032 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01917, allocations: 4.531 kB / 0.8032 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.01934, allocations: 309.7 kB / 0.8035 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-06/0.01934, allocations: 0 / 0.8035 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.01935, allocations: 4 kB / 0.8035 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.01936, allocations: 4.406 kB / 0.8035 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.01938, allocations: 7.938 kB / 0.8035 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.01938, allocations: 0 / 0.8035 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.01941, allocations: 123.1 kB / 0.8036 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01941, allocations: 0 / 0.8036 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009086/0.02032, allocations: 0.5452 MB / 0.8042 GB, free: 10.73 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.00173/0.02205, allocations: 1.031 MB / 0.8052 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.02226, allocations: 259.6 kB / 0.8054 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02226, allocations: 0 / 0.8054 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.02235, allocations: 157.3 kB / 0.8056 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.02246, allocations: 0 / 0.8056 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.02314, allocations: 0.8221 MB / 0.8064 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.099e-05/0.02321, allocations: 115.2 kB / 0.8065 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.86e-05/0.02322, allocations: 4 kB / 0.8065 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.02325, allocations: 12.5 kB / 0.8065 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of SimCode: time 8.72e-07/0.02325, allocations: 3.938 kB / 0.8065 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of Templates: time 0.01696/0.0402, allocations: 14.38 MB / 0.8205 GB, free: 10.01 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.391702742315829]