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.0008806/0.0008806, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009248/0.0009248, allocations: 161.4 kB / 24.17 MB, free: 328 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.8689/0.8689, allocations: 177.1 MB / 204.6 MB, free: 5.461 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.858/1.858, allocations: 377.9 MB / 0.624 GB, free: 8.328 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.102e-06/1.102e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.63e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001072/0.001088, allocations: 0.5869 MB / 0.7606 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005344/0.006433, allocations: 5.061 MB / 0.7656 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.006455, allocations: 4 kB / 0.7656 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.006506, allocations: 0 / 0.7656 GB, free: 0.9609 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.002645/0.009151, allocations: 1.634 MB / 0.7672 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.822e-05/0.009209, allocations: 39.88 kB / 0.7672 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.026e-05/0.00925, allocations: 8 kB / 0.7672 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.009286, allocations: 4 kB / 0.7672 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.009314, allocations: 4 kB / 0.7672 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.14e-05/0.009345, allocations: 14.11 kB / 0.7672 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.009355, allocations: 0 / 0.7672 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.01192, allocations: 2.462 MB / 0.7697 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.01203, allocations: 153.2 kB / 0.7698 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.01204, allocations: 4 kB / 0.7698 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.01382, allocations: 2.026 MB / 0.7718 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.01382, allocations: 2.875 kB / 0.7718 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01382, allocations: 0 / 0.7718 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.01382, allocations: 0 / 0.7718 GB, free: 10.63 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.0005246/0.01435, allocations: 0.5287 MB / 0.7723 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.01438, allocations: 12.03 kB / 0.7723 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.01441, allocations: 0.9375 kB / 0.7723 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.444e-05/0.01449, allocations: 105.8 kB / 0.7724 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.0145, allocations: 6.281 kB / 0.7724 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.01451, allocations: 4.312 kB / 0.7724 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.891e-05/0.01461, allocations: 90.23 kB / 0.7725 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.01462, allocations: 3.938 kB / 0.7725 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.01462, allocations: 0 / 0.7725 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.01463, allocations: 0.7812 kB / 0.7725 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.622e-05/0.01469, allocations: 119.9 kB / 0.7726 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.01482, allocations: 177.6 kB / 0.7728 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.43e-05/0.01488, allocations: 79.23 kB / 0.7729 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.01492, allocations: 68.83 kB / 0.7729 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.01493, allocations: 4.625 kB / 0.7729 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.01495, allocations: 34.56 kB / 0.773 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.01495, allocations: 4.625 kB / 0.773 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.01512, allocations: 214.1 kB / 0.7732 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.01515, allocations: 59.97 kB / 0.7732 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.018e-05/0.0152, allocations: 95.31 kB / 0.7733 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.01521, allocations: 27.2 kB / 0.7734 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.121e-05/0.01523, allocations: 80.14 kB / 0.7734 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.01526, allocations: 4.344 kB / 0.7734 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.01528, allocations: 17.69 kB / 0.7735 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.01535, allocations: 312 kB / 0.7738 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.01539, allocations: 67.91 kB / 0.7738 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.01542, allocations: 55.98 kB / 0.7739 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.758e-05/0.0155, allocations: 129.5 kB / 0.774 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01551, allocations: 0.6562 kB / 0.774 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.01561, allocations: 154.4 kB / 0.7741 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01562, allocations: 7.984 kB / 0.7741 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.01563, allocations: 1.531 kB / 0.7742 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01564, allocations: 0 / 0.7742 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.01568, allocations: 0 / 0.7742 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.01569, allocations: 7.938 kB / 0.7742 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-06/0.0157, allocations: 6.328 kB / 0.7742 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.0157, allocations: 3.938 kB / 0.7742 GB, free: 8.043 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.242e-05/0.01576, allocations: 112.7 kB / 0.7743 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-06/0.01576, allocations: 0 / 0.7743 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.0159, allocations: 160.6 kB / 0.7744 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.0159, allocations: 0 / 0.7744 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.0159, allocations: 6.375 kB / 0.7744 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.0159, allocations: 0 / 0.7744 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.01601, allocations: 181.8 kB / 0.7746 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.01601, allocations: 0 / 0.7746 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-07/0.01601, allocations: 0 / 0.7746 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01601, allocations: 0 / 0.7746 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-06/0.01602, allocations: 5.406 kB / 0.7746 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01602, allocations: 4 kB / 0.7746 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01602, allocations: 0 / 0.7746 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.01612, allocations: 181 kB / 0.7748 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-06/0.01612, allocations: 6.406 kB / 0.7748 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-06/0.01613, allocations: 3.938 kB / 0.7748 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.01614, allocations: 7.984 kB / 0.7748 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-06/0.01615, allocations: 0 / 0.7748 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.01615, allocations: 4 kB / 0.7748 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.318e-06/0.01616, allocations: 7.609 kB / 0.7748 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01616, allocations: 0 / 0.7748 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006679/0.01683, allocations: 0.5451 MB / 0.7754 GB, free: 6.785 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.001935/0.01876, allocations: 1.101 MB / 0.7764 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.01888, allocations: 128.8 kB / 0.7765 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01888, allocations: 0.9062 kB / 0.7766 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.505e-05/0.01894, allocations: 94.47 kB / 0.7766 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.498e-05/0.01899, allocations: 8.375 kB / 0.7766 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.01964, allocations: 0.7577 MB / 0.7774 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.89e-05/0.01971, allocations: 119.2 kB / 0.7775 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.01973, allocations: 5.312 kB / 0.7775 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.01978, allocations: 52.03 kB / 0.7776 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.01978, allocations: 0 / 0.7776 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of Templates: time 0.01503/0.03481, allocations: 13.78 MB / 0.791 GB, free: 6.957 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 -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.2735326630063355]