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.001221/0.001221, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001188/0.001188, allocations: 185.3 kB / 24.09 MB, free: 416 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.9129/0.9129, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.752/1.752, allocations: 359 MB / 0.6055 GB, free: 10.88 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.653e-06/1.653e-06, allocations: 0 / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.255e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001201/0.001223, allocations: 0.5765 MB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005171/0.006395, allocations: 4.978 MB / 0.793 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.006424, allocations: 0 / 0.793 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.369e-05/0.006477, allocations: 3.984 kB / 0.793 GB, free: 6.547 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.003437/0.009914, allocations: 1.626 MB / 0.7946 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.021e-05/0.009984, allocations: 31.91 kB / 0.7947 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.507e-05/0.01003, allocations: 7.984 kB / 0.7947 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.01007, allocations: 4 kB / 0.7947 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.01011, allocations: 8.516 kB / 0.7947 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.01014, allocations: 4 kB / 0.7947 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.01016, allocations: 0.7188 kB / 0.7947 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.0131, allocations: 2.461 MB / 0.7971 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.0132, allocations: 154.1 kB / 0.7972 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.01322, allocations: 0 / 0.7972 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.01603, allocations: 2.023 MB / 0.7992 GB, free: 256 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01603, allocations: 0 / 0.7992 GB, free: 256 kB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.01604, allocations: 1.312 kB / 0.7992 GB, free: 256 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.01604, allocations: 0 / 0.7992 GB, free: 256 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.0006422/0.01668, allocations: 0.6573 MB / 0.7999 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.01672, allocations: 12.53 kB / 0.7999 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.01675, allocations: 1.656 kB / 0.7999 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.585e-05/0.01681, allocations: 104.6 kB / 0.8 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.01682, allocations: 10.09 kB / 0.8 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-06/0.01683, allocations: 384 / 0.8 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.61e-05/0.01692, allocations: 90.22 kB / 0.8001 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-06/0.01693, allocations: 3.938 kB / 0.8001 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.01694, allocations: 4.875 kB / 0.8001 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.01694, allocations: 0 / 0.8001 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.017, allocations: 119.4 kB / 0.8002 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.01714, allocations: 217.2 kB / 0.8004 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.01721, allocations: 91 kB / 0.8005 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.01725, allocations: 67.72 kB / 0.8005 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.321e-06/0.01726, allocations: 0 / 0.8005 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.01728, allocations: 37.39 kB / 0.8006 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.01728, allocations: 0 / 0.8006 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0003132/0.01759, allocations: 217.5 kB / 0.8008 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.01761, allocations: 55.84 kB / 0.8008 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.01767, allocations: 155.3 kB / 0.801 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.01768, allocations: 25.7 kB / 0.801 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.01771, allocations: 126.9 kB / 0.8011 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.01773, allocations: 13.02 kB / 0.8011 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.01775, allocations: 19.36 kB / 0.8012 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.01785, allocations: 492.8 kB / 0.8016 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.01789, allocations: 63.97 kB / 0.8017 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.01792, allocations: 62.78 kB / 0.8018 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.737e-05/0.018, allocations: 135.6 kB / 0.8019 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.018, allocations: 0 / 0.8019 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001016/0.0181, allocations: 157.6 kB / 0.802 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.01812, allocations: 4 kB / 0.802 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01812, allocations: 0 / 0.802 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.01813, allocations: 2.594 kB / 0.802 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.01818, allocations: 7.938 kB / 0.8021 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.01819, allocations: 0 / 0.8021 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-06/0.01819, allocations: 0 / 0.8021 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.0182, allocations: 3.984 kB / 0.8021 GB, free: 13.15 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.514e-05/0.01825, allocations: 156.6 kB / 0.8022 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-06/0.01826, allocations: 0.9375 kB / 0.8022 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.01839, allocations: 164.6 kB / 0.8024 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.0184, allocations: 1.125 kB / 0.8024 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.0184, allocations: 3.938 kB / 0.8024 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.0184, allocations: 0 / 0.8024 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.01851, allocations: 214.3 kB / 0.8026 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.01851, allocations: 0 / 0.8026 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-06/0.01851, allocations: 3.938 kB / 0.8026 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01851, allocations: 1.094 kB / 0.8026 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.01852, allocations: 0 / 0.8026 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01852, allocations: 8 kB / 0.8026 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.01852, allocations: 0.5938 kB / 0.8026 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.01863, allocations: 188.8 kB / 0.8028 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.01863, allocations: 9.359 kB / 0.8028 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-06/0.01864, allocations: 0 / 0.8028 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-06/0.01864, allocations: 0 / 0.8028 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-06/0.01865, allocations: 4 kB / 0.8028 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.01865, allocations: 0.8125 kB / 0.8028 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.01868, allocations: 123.1 kB / 0.8029 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01868, allocations: 0.5 kB / 0.8029 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008626/0.01955, allocations: 0.5529 MB / 0.8034 GB, free: 11.68 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.001573/0.02112, allocations: 1.032 MB / 0.8044 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.02124, allocations: 139.6 kB / 0.8046 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02124, allocations: 0 / 0.8046 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.0213, allocations: 93.36 kB / 0.8047 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.0214, allocations: 6.031 kB / 0.8047 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.02201, allocations: 0.7652 MB / 0.8054 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.473e-05/0.02207, allocations: 119.2 kB / 0.8055 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.02209, allocations: 4 kB / 0.8055 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.02213, allocations: 70.2 kB / 0.8056 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of SimCode: time 8.32e-07/0.02213, allocations: 0 / 0.8056 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of Templates: time 0.01498/0.03712, allocations: 13.91 MB / 0.8192 GB, free: 11.61 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.575799038168043]