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.0008939/0.0008939, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.000954/0.000954, allocations: 161 kB / 24.17 MB, free: 324 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.9457/0.9457, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.866/1.866, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.302e-06/1.302e-06, allocations: 0 / 0.7601 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.689e-06/1.099e-05, allocations: 4.281 kB / 0.7601 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001035/0.001046, allocations: 0.6319 MB / 0.7607 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004963/0.006009, allocations: 5.066 MB / 0.7657 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.006028, allocations: 0 / 0.7657 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.006068, allocations: 3.938 kB / 0.7657 GB, free: 0.832 MB / 0.7136 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.002156/0.008224, allocations: 1.458 MB / 0.7671 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.686e-05/0.008261, allocations: 23.91 kB / 0.7671 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.947e-05/0.0083, allocations: 11.97 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.938e-05/0.00833, allocations: 1.406 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.008356, allocations: 4 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.891e-05/0.008385, allocations: 8 kB / 0.7672 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.008394, allocations: 0 / 0.7672 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.01074, allocations: 2.656 MB / 0.7697 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.01083, allocations: 149.2 kB / 0.7699 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.01085, allocations: 4 kB / 0.7699 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.01245, allocations: 2.025 MB / 0.7719 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.01245, allocations: 0 / 0.7719 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.81e-07/0.01245, allocations: 0 / 0.7719 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.01246, allocations: 0 / 0.7719 GB, free: 10.51 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.0004296/0.01288, allocations: 0.5209 MB / 0.7724 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.01291, allocations: 12.03 kB / 0.7724 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.01294, allocations: 4.875 kB / 0.7724 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.228e-05/0.013, allocations: 113.8 kB / 0.7725 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.01301, allocations: 5.875 kB / 0.7725 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-06/0.01301, allocations: 384 / 0.7725 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.01309, allocations: 90.23 kB / 0.7726 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.0131, allocations: 3.938 kB / 0.7726 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-06/0.0131, allocations: 0.9688 kB / 0.7726 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.01311, allocations: 0 / 0.7726 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.443e-05/0.01317, allocations: 120.5 kB / 0.7727 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.01329, allocations: 173 kB / 0.7729 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.989e-05/0.01335, allocations: 83.11 kB / 0.773 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.01339, allocations: 65.48 kB / 0.773 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-06/0.01339, allocations: 0 / 0.773 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.01341, allocations: 39.11 kB / 0.7731 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.01341, allocations: 0.6562 kB / 0.7731 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001533/0.01356, allocations: 210.9 kB / 0.7733 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.01359, allocations: 59.28 kB / 0.7733 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.686e-05/0.01363, allocations: 106.7 kB / 0.7734 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.01364, allocations: 26.3 kB / 0.7734 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.636e-05/0.01366, allocations: 81.48 kB / 0.7735 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.01367, allocations: 4.297 kB / 0.7735 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.01369, allocations: 13.72 kB / 0.7735 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.01375, allocations: 310.8 kB / 0.7738 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-05/0.0138, allocations: 66.41 kB / 0.7739 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.01383, allocations: 59.97 kB / 0.774 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.01413, allocations: 132.7 kB / 0.7741 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.01413, allocations: 0 / 0.7741 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.21e-05/0.01423, allocations: 153.6 kB / 0.7742 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/0.01424, allocations: 10.25 kB / 0.7742 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.01424, allocations: 0 / 0.7742 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.617e-06/0.01425, allocations: 0 / 0.7742 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.331e-05/0.01428, allocations: 0 / 0.7742 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.01429, allocations: 7.938 kB / 0.7742 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-06/0.01429, allocations: 0 / 0.7742 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.0143, allocations: 9.344 kB / 0.7743 GB, free: 7.922 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 4.172e-05/0.01434, allocations: 108.7 kB / 0.7744 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-06/0.01434, allocations: 4 kB / 0.7744 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.01446, allocations: 159.4 kB / 0.7745 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01446, allocations: 0 / 0.7745 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01446, allocations: 3.938 kB / 0.7745 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.01447, allocations: 0 / 0.7745 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.01457, allocations: 185.8 kB / 0.7747 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01457, allocations: 0 / 0.7747 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-07/0.01457, allocations: 0 / 0.7747 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.01457, allocations: 3.688 kB / 0.7747 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.01457, allocations: 4 kB / 0.7747 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01458, allocations: 7.938 kB / 0.7747 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01458, allocations: 3.984 kB / 0.7747 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.637e-05/0.01467, allocations: 177 kB / 0.7749 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-06/0.01468, allocations: 0 / 0.7749 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-06/0.01468, allocations: 0 / 0.7749 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.299e-06/0.01469, allocations: 0 / 0.7749 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-06/0.01469, allocations: 0 / 0.7749 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.0147, allocations: 4.719 kB / 0.7749 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.225e-06/0.01471, allocations: 4.859 kB / 0.7749 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01471, allocations: 0.6562 kB / 0.7749 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00056/0.01527, allocations: 0.5573 MB / 0.7754 GB, free: 6.664 MB / 0.7292 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.001613/0.01688, allocations: 1.1 MB / 0.7765 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.01698, allocations: 133.4 kB / 0.7766 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.01699, allocations: 4 kB / 0.7766 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.01704, allocations: 91.66 kB / 0.7767 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.112e-05/0.01709, allocations: 5.422 kB / 0.7767 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.01766, allocations: 0.7619 MB / 0.7775 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.276e-05/0.01773, allocations: 117.2 kB / 0.7776 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.01774, allocations: 4 kB / 0.7776 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.01778, allocations: 51.38 kB / 0.7776 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/0.01778, allocations: 0.7188 kB / 0.7776 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of Templates: time 0.0145/0.03227, allocations: 13.79 MB / 0.7911 GB, free: 6.824 MB / 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 -s gbode -gbm=radauIIA3 -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.3751518270000815]