Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001267/0.001267, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001394/0.001394, allocations: 169.3 kB / 24.28 MB, free: 272 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.9117/0.9117, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.84/1.84, allocations: 377.8 MB / 0.6239 GB, free: 8.582 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.8116 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.055e-05, allocations: 3.375 kB / 0.8116 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001114/0.001134, allocations: 0.5867 MB / 0.8122 GB, free: 344 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005381/0.006515, allocations: 5.058 MB / 0.8171 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.006545, allocations: 1.156 kB / 0.8171 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.24e-05/0.006598, allocations: 0 / 0.8171 GB, free: 11.26 MB / 0.7292 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'. Notification: Performance of NFTyping.typeBindings: time 0.002509/0.009107, allocations: 1.614 MB / 0.8187 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-05/0.009157, allocations: 44.41 kB / 0.8187 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.758e-05/0.009204, allocations: 4.531 kB / 0.8187 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.009241, allocations: 3.938 kB / 0.8187 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.009272, allocations: 4.844 kB / 0.8187 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.009303, allocations: 7.984 kB / 0.8187 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.009314, allocations: 0.8438 kB / 0.8187 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.01169, allocations: 2.461 MB / 0.8211 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.01179, allocations: 153.2 kB / 0.8213 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.01181, allocations: 4.844 kB / 0.8213 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.01404, allocations: 2.058 MB / 0.8233 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01405, allocations: 5.5 kB / 0.8233 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.123e-06/0.01405, allocations: 0 / 0.8233 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.01405, allocations: 0 / 0.8233 GB, free: 4.902 MB / 0.7292 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.0006025/0.01465, allocations: 0.6455 MB / 0.8239 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.01469, allocations: 9.281 kB / 0.8239 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.01472, allocations: 0.9375 kB / 0.8239 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.286e-05/0.01481, allocations: 112.6 kB / 0.8241 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.01482, allocations: 3.469 kB / 0.8241 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.01482, allocations: 384 / 0.8241 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.01497, allocations: 150.2 kB / 0.8242 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.01498, allocations: 3.938 kB / 0.8242 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.01498, allocations: 0 / 0.8242 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.01499, allocations: 3.938 kB / 0.8242 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.01512, allocations: 239.9 kB / 0.8244 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.01528, allocations: 233.6 kB / 0.8247 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.01538, allocations: 147 kB / 0.8248 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.01546, allocations: 139.7 kB / 0.8249 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.01546, allocations: 1.125 kB / 0.8249 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.01548, allocations: 33.39 kB / 0.825 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.01548, allocations: 0 / 0.825 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002963/0.01578, allocations: 402.6 kB / 0.8253 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.01581, allocations: 59.39 kB / 0.8254 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.01588, allocations: 150.4 kB / 0.8255 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.01589, allocations: 26.89 kB / 0.8256 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.01592, allocations: 130.9 kB / 0.8257 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.01594, allocations: 7.953 kB / 0.8257 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.01597, allocations: 16.38 kB / 0.8257 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.01607, allocations: 496.1 kB / 0.8262 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.01614, allocations: 125.3 kB / 0.8263 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.0162, allocations: 119.9 kB / 0.8264 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.01634, allocations: 259.5 kB / 0.8267 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01635, allocations: 1.094 kB / 0.8267 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001583/0.0165, allocations: 273.6 kB / 0.8269 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.01652, allocations: 4.656 kB / 0.8269 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.01652, allocations: 0 / 0.8269 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.01653, allocations: 6.5 kB / 0.8269 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.01659, allocations: 4 kB / 0.827 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01659, allocations: 3.984 kB / 0.827 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.855e-06/0.0166, allocations: 0 / 0.827 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.01661, allocations: 0 / 0.827 GB, free: 0.9688 MB / 0.7292 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.813e-05/0.01666, allocations: 164.6 kB / 0.8271 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-06/0.01667, allocations: 2.875 kB / 0.8271 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.01687, allocations: 280.5 kB / 0.8274 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.01687, allocations: 3.938 kB / 0.8274 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01687, allocations: 0 / 0.8274 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.01688, allocations: 0 / 0.8274 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.01699, allocations: 228.6 kB / 0.8276 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.01699, allocations: 4 kB / 0.8276 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.01699, allocations: 0.9375 kB / 0.8276 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.017, allocations: 0 / 0.8276 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.017, allocations: 4 kB / 0.8276 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.017, allocations: 1.125 kB / 0.8276 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.017, allocations: 3.938 kB / 0.8276 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.01718, allocations: 305.6 kB / 0.8279 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-06/0.01718, allocations: 7.938 kB / 0.8279 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.01719, allocations: 0 / 0.8279 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-06/0.0172, allocations: 4 kB / 0.8279 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.01721, allocations: 10.89 kB / 0.8279 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.01722, allocations: 0 / 0.8279 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.01725, allocations: 123.2 kB / 0.828 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01725, allocations: 0 / 0.828 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001027/0.01827, allocations: 0.5529 MB / 0.8286 GB, free: 15.23 MB / 0.7448 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.001669/0.01994, allocations: 1.035 MB / 0.8296 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.02014, allocations: 251.6 kB / 0.8298 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02014, allocations: 0 / 0.8298 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.02022, allocations: 153.3 kB / 0.83 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.02033, allocations: 7.984 kB / 0.83 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/0.02101, allocations: 0.8298 MB / 0.8308 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.586e-05/0.02108, allocations: 115.2 kB / 0.8309 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.707e-05/0.02109, allocations: 0 / 0.8309 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.02112, allocations: 12.5 kB / 0.8309 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of SimCode: time 6.12e-07/0.02112, allocations: 4 kB / 0.8309 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.0137/0.03482, allocations: 12.67 MB / 0.8433 GB, free: 220 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.403823903994635]