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.001352/0.001352, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00141/0.00141, allocations: 165 kB / 23.82 MB, free: 0.75 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.8958/0.8958, allocations: 177.1 MB / 204.2 MB, free: 5.586 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.766/1.766, allocations: 359 MB / 0.6052 GB, free: 11.03 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.303e-06/1.303e-06, allocations: 0 / 0.7871 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.795e-05, allocations: 4.844 kB / 0.7872 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001055/0.001072, allocations: 0.5787 MB / 0.7877 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005387/0.006459, allocations: 5.064 MB / 0.7927 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.006484, allocations: 0 / 0.7927 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.539e-05/0.00654, allocations: 1.125 kB / 0.7927 GB, free: 6.637 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.002538/0.009078, allocations: 1.618 MB / 0.7942 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.821e-05/0.009126, allocations: 27.91 kB / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.612e-05/0.009172, allocations: 8 kB / 0.7943 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.009204, allocations: 0 / 0.7943 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.009233, allocations: 11.98 kB / 0.7943 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.188e-05/0.009265, allocations: 8.609 kB / 0.7943 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.009275, allocations: 0.6875 kB / 0.7943 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.01158, allocations: 2.437 MB / 0.7967 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.01169, allocations: 150.3 kB / 0.7968 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.01171, allocations: 0 / 0.7968 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.01384, allocations: 2.055 MB / 0.7988 GB, free: 332 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01384, allocations: 0 / 0.7988 GB, free: 332 kB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.01384, allocations: 0 / 0.7988 GB, free: 332 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.01385, allocations: 0.8125 kB / 0.7988 GB, free: 332 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.0006203/0.01447, allocations: 0.6496 MB / 0.7995 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.0145, allocations: 12.97 kB / 0.7995 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.01454, allocations: 4.875 kB / 0.7995 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.626e-05/0.01461, allocations: 113.8 kB / 0.7996 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.01462, allocations: 384 / 0.7996 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.01463, allocations: 384 / 0.7996 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.01478, allocations: 151 kB / 0.7997 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.01479, allocations: 3.938 kB / 0.7997 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.01479, allocations: 0 / 0.7997 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.0148, allocations: 2.219 kB / 0.7997 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.01493, allocations: 243.9 kB / 0.8 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.01509, allocations: 228.6 kB / 0.8002 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 9.495e-05/0.01519, allocations: 151 kB / 0.8003 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.336e-05/0.01526, allocations: 127.7 kB / 0.8005 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.01527, allocations: 2.938 kB / 0.8005 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.01529, allocations: 41.39 kB / 0.8005 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.01529, allocations: 0 / 0.8005 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0002856/0.01557, allocations: 397.5 kB / 0.8009 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.0156, allocations: 55.34 kB / 0.8009 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.01567, allocations: 153.9 kB / 0.8011 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.01568, allocations: 27.14 kB / 0.8011 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.01571, allocations: 130.9 kB / 0.8012 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.01573, allocations: 4.297 kB / 0.8012 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.01575, allocations: 19.38 kB / 0.8013 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01586, allocations: 496.7 kB / 0.8017 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.01592, allocations: 116 kB / 0.8018 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.01598, allocations: 124.5 kB / 0.802 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.01612, allocations: 256.1 kB / 0.8022 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01612, allocations: 1.375 kB / 0.8022 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003033/0.01642, allocations: 277.5 kB / 0.8025 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01643, allocations: 4 kB / 0.8025 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01644, allocations: 5.156 kB / 0.8025 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.01645, allocations: 7.922 kB / 0.8025 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.01651, allocations: 0 / 0.8025 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01651, allocations: 1.094 kB / 0.8025 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-06/0.01652, allocations: 0 / 0.8025 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.01653, allocations: 4 kB / 0.8025 GB, free: 12.38 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.445e-05/0.01658, allocations: 153.2 kB / 0.8026 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-06/0.01658, allocations: 1.344 kB / 0.8026 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.01678, allocations: 280.6 kB / 0.8029 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.01679, allocations: 7.938 kB / 0.8029 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.0168, allocations: 3.719 kB / 0.8029 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.0168, allocations: 0 / 0.8029 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.01691, allocations: 228.6 kB / 0.8031 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.01691, allocations: 0 / 0.8031 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-07/0.01691, allocations: 0 / 0.8031 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.01691, allocations: 0 / 0.8031 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.01692, allocations: 7.922 kB / 0.8031 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01692, allocations: 3.984 kB / 0.8031 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01692, allocations: 3.938 kB / 0.8031 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.01709, allocations: 305.3 kB / 0.8034 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.01709, allocations: 7.984 kB / 0.8034 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.0171, allocations: 0 / 0.8034 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-06/0.01711, allocations: 1.031 kB / 0.8034 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.01712, allocations: 7.938 kB / 0.8035 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.01713, allocations: 4 kB / 0.8035 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 2.995e-05/0.01716, allocations: 120.3 kB / 0.8036 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01716, allocations: 0 / 0.8036 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000679/0.01784, allocations: 0.554 MB / 0.8041 GB, free: 10.65 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.001563/0.0194, allocations: 1.028 MB / 0.8051 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.01959, allocations: 259.5 kB / 0.8054 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01959, allocations: 0 / 0.8054 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.525e-05/0.01967, allocations: 161.4 kB / 0.8055 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.01978, allocations: 5.969 kB / 0.8055 GB, free: 9.293 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.02044, allocations: 0.8253 MB / 0.8063 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.666e-05/0.02051, allocations: 115.2 kB / 0.8064 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.679e-05/0.02052, allocations: 2.875 kB / 0.8064 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.02054, allocations: 16.5 kB / 0.8065 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of SimCode: time 6.92e-07/0.02054, allocations: 0 / 0.8065 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of Templates: time 0.01311/0.03365, allocations: 12.58 MB / 0.8187 GB, free: 11.73 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.3291078777983785]