Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t.1.|t.2.|t.3.|t.4.|t.5.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t.1.|t.2.|t.3.|t.4.|t.5.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009879, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 12 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.6721, allocations: 142.3 MB / 0.9536 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric): time 0.001167/0.6733, allocations: 0.992 MB / 0.9545 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.6736, allocations: 119.1 kB / 0.9546 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.6737, allocations: 0 / 0.9546 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.505e-05/0.6737, allocations: 0 / 0.9546 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.194e-05/0.6738, allocations: 1.375 kB / 0.9546 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.674, allocations: 29.86 kB / 0.9547 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.049e-05/0.6741, allocations: 3.406 kB / 0.9547 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.6741, allocations: 1.344 kB / 0.9547 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.038e-05/0.6741, allocations: 8.984 kB / 0.9547 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.313e-05/0.6742, allocations: 2.594 kB / 0.9547 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.6742, allocations: 0 / 0.9547 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.22e-05/0.6743, allocations: 23.22 kB / 0.9547 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.6743, allocations: 10.88 kB / 0.9547 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.6743, allocations: 32.55 kB / 0.9547 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.152e-05/0.6744, allocations: 20.41 kB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.6744, allocations: 0 / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.126e-06/0.6744, allocations: 1 kB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.6744, allocations: 3.938 kB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002111/0.6746, allocations: 335.1 kB / 0.9551 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.6747, allocations: 9.062 kB / 0.9551 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.6748, allocations: 84.64 kB / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.6749, allocations: 244.2 kB / 0.9554 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.6749, allocations: 151.8 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.6749, allocations: 150.6 kB / 0.9557 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.427e-05/0.675, allocations: 110.4 kB / 0.9558 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.675, allocations: 75.28 kB / 0.9559 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.675, allocations: 150.6 kB / 0.956 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.675, allocations: 151.7 kB / 0.9562 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.319e-05/0.6751, allocations: 155.4 kB / 0.9563 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.6752, allocations: 461.9 kB / 0.9568 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.232e-05/0.6753, allocations: 169.9 kB / 0.9569 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.6753, allocations: 75.28 kB / 0.957 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.6753, allocations: 106.9 kB / 0.9571 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6753, allocations: 0 / 0.9571 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.658e-05/0.6754, allocations: 31.8 kB / 0.9571 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.6754, allocations: 130.7 kB / 0.9572 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.6755, allocations: 118 kB / 0.9574 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.6755, allocations: 25.7 kB / 0.9574 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.6756, allocations: 82.3 kB / 0.9575 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.6756, allocations: 0 / 0.9575 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.6756, allocations: 0 / 0.9575 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.6756, allocations: 323.6 kB / 0.9578 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.6757, allocations: 6.812 kB / 0.9578 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.6757, allocations: 14.23 kB / 0.9578 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.6757, allocations: 12.12 kB / 0.9578 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6757, allocations: 0 / 0.9578 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.6758, allocations: 52.31 kB / 0.9579 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6758, allocations: 4.625 kB / 0.9579 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.6759, allocations: 3.938 kB / 0.9579 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.6759, allocations: 1.125 kB / 0.9579 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.6759, allocations: 0 / 0.9579 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.6759, allocations: 1.125 kB / 0.9579 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.6759, allocations: 9.188 kB / 0.9579 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.6759, allocations: 4.062 kB / 0.9579 GB, free: 3.848 MB / 0.7169 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): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.676, allocations: 199.4 kB / 0.9581 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.676, allocations: 107.4 kB / 0.9582 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.6761, allocations: 109.5 kB / 0.9583 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/0.6761, allocations: 180.2 kB / 0.9584 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.441e-05/0.6761, allocations: 181.4 kB / 0.9586 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/0.6762, allocations: 185.7 kB / 0.9588 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.6763, allocations: 407.3 kB / 0.9592 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.6763, allocations: 105 kB / 0.9593 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.6763, allocations: 110.3 kB / 0.9594 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.172e-05/0.6764, allocations: 177.3 kB / 0.9596 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.6764, allocations: 181.4 kB / 0.9597 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.519e-05/0.6764, allocations: 181.2 kB / 0.9599 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.361e-05/0.6764, allocations: 181.3 kB / 0.9601 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.29e-05/0.6765, allocations: 315.3 kB / 0.9604 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.6765, allocations: 187.6 kB / 0.9606 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.6766, allocations: 185.6 kB / 0.9607 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.257e-05/0.6766, allocations: 102.6 kB / 0.9608 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.6767, allocations: 184.2 kB / 0.961 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.6767, allocations: 101.9 kB / 0.9611 GB, free: 348 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.6767, allocations: 91.19 kB / 0.9612 GB, free: 264 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6767, allocations: 0 / 0.9612 GB, free: 264 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002456/0.677, allocations: 13.66 kB / 0.9612 GB, free: 260 kB / 0.7169 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.6772, allocations: 199.9 kB / 0.9614 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.363e-05/0.6773, allocations: 15.89 kB / 0.9614 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6773, allocations: 0 / 0.9614 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.6773, allocations: 1.219 kB / 0.9614 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.6776, allocations: 0.5278 MB / 0.9619 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.6778, allocations: 178.6 kB / 0.9621 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.678, allocations: 0.679 MB / 0.9628 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.151e-05/0.678, allocations: 4.906 kB / 0.9628 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.6781, allocations: 7.438 kB / 0.9628 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6781, allocations: 0 / 0.9628 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.002488/0.6806, allocations: 420.5 kB / 0.9632 GB, free: 14.46 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_TimeGeometric.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches