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.000884/0.000884, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0008966/0.0008966, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.8875/0.8875, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.697/1.697, allocations: 359 MB / 0.6063 GB, free: 10.85 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.553e-06/1.553e-06, allocations: 0 / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.374e-05, allocations: 9.25 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001629/0.001652, allocations: 0.5821 MB / 0.7889 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004915/0.006567, allocations: 4.974 MB / 0.7938 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.00659, allocations: 0 / 0.7938 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.982e-05/0.00664, allocations: 4.609 kB / 0.7938 GB, free: 6.586 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.002324/0.008964, allocations: 1.622 MB / 0.7954 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.523e-05/0.009009, allocations: 39.88 kB / 0.7954 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.983e-05/0.009049, allocations: 8 kB / 0.7954 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.009085, allocations: 0 / 0.7954 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.557e-05/0.00911, allocations: 5.656 kB / 0.7954 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.274e-05/0.009143, allocations: 7.984 kB / 0.7954 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.009153, allocations: 0 / 0.7954 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.01129, allocations: 2.458 MB / 0.7978 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.01139, allocations: 149.2 kB / 0.798 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.01141, allocations: 4 kB / 0.798 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.01299, allocations: 2.031 MB / 0.8 GB, free: 292 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.013, allocations: 0.8438 kB / 0.8 GB, free: 292 kB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.013, allocations: 0 / 0.8 GB, free: 292 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.013, allocations: 0.9062 kB / 0.8 GB, free: 292 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.0005112/0.01351, allocations: 0.6496 MB / 0.8006 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.01354, allocations: 15.84 kB / 0.8006 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.01357, allocations: 4.938 kB / 0.8006 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.384e-05/0.01364, allocations: 104.6 kB / 0.8007 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.01365, allocations: 4.375 kB / 0.8007 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-06/0.01366, allocations: 384 / 0.8007 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.041e-05/0.01375, allocations: 86.23 kB / 0.8008 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.01375, allocations: 3.938 kB / 0.8008 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-06/0.01376, allocations: 4 kB / 0.8008 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.01376, allocations: 0 / 0.8008 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.474e-05/0.01383, allocations: 123.9 kB / 0.8009 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.01396, allocations: 214.4 kB / 0.8011 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 6.144e-05/0.01402, allocations: 91.06 kB / 0.8012 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.01406, allocations: 68.72 kB / 0.8013 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-06/0.01407, allocations: 0 / 0.8013 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.01409, allocations: 37.39 kB / 0.8013 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.01409, allocations: 1.094 kB / 0.8013 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001725/0.01426, allocations: 217.5 kB / 0.8015 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.01429, allocations: 56.47 kB / 0.8016 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.62e-05/0.01434, allocations: 153.9 kB / 0.8017 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.01435, allocations: 26.86 kB / 0.8018 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.01438, allocations: 126.9 kB / 0.8019 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.0144, allocations: 8.297 kB / 0.8019 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.01442, allocations: 20.98 kB / 0.8019 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.01452, allocations: 496.1 kB / 0.8024 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.01456, allocations: 63.97 kB / 0.8025 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.01459, allocations: 59.97 kB / 0.8025 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.868e-05/0.01467, allocations: 132.4 kB / 0.8026 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01467, allocations: 0 / 0.8026 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.583e-05/0.01477, allocations: 154.2 kB / 0.8028 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.01478, allocations: 9.078 kB / 0.8028 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01478, allocations: 3.938 kB / 0.8028 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.01479, allocations: 0.6562 kB / 0.8028 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.803e-05/0.01483, allocations: 7.938 kB / 0.8028 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.01483, allocations: 352 / 0.8028 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-06/0.01484, allocations: 4 kB / 0.8028 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-06/0.01484, allocations: 0 / 0.8028 GB, free: 13.2 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.311e-05/0.01489, allocations: 156.6 kB / 0.803 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-06/0.0149, allocations: 0 / 0.803 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.01502, allocations: 164.6 kB / 0.8031 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01502, allocations: 3.984 kB / 0.8031 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01503, allocations: 3.938 kB / 0.8031 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.01503, allocations: 0 / 0.8031 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.01513, allocations: 213.2 kB / 0.8033 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01514, allocations: 0 / 0.8033 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.01514, allocations: 4.031 kB / 0.8033 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01514, allocations: 4 kB / 0.8033 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.01514, allocations: 0 / 0.8033 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01514, allocations: 4 kB / 0.8033 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01515, allocations: 0 / 0.8033 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.01525, allocations: 192.3 kB / 0.8035 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-06/0.01525, allocations: 0 / 0.8035 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-06/0.01526, allocations: 3.984 kB / 0.8035 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-06/0.01526, allocations: 3.938 kB / 0.8035 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-06/0.01527, allocations: 7.984 kB / 0.8035 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.01528, allocations: 4.031 kB / 0.8035 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.01531, allocations: 127.1 kB / 0.8037 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01531, allocations: 0 / 0.8037 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000593/0.0159, allocations: 0.5413 MB / 0.8042 GB, free: 11.71 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.00151/0.01741, allocations: 1.037 MB / 0.8052 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.01753, allocations: 135.6 kB / 0.8053 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01753, allocations: 4.062 kB / 0.8053 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.01758, allocations: 93.36 kB / 0.8054 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.04e-05/0.01767, allocations: 4 kB / 0.8054 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.01825, allocations: 0.7557 MB / 0.8062 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.01831, allocations: 123.1 kB / 0.8063 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.705e-05/0.01833, allocations: 4 kB / 0.8063 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.01837, allocations: 78.19 kB / 0.8064 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of SimCode: time 9.22e-07/0.01837, allocations: 0 / 0.8064 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of Templates: time 0.0139/0.03227, allocations: 13.99 MB / 0.82 GB, free: 11.55 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.373294773045927]