Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007102/0.007102, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001383/0.001383, allocations: 195.5 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.438 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.614/2.614, allocations: 390.3 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.91 kB / 0.8126 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6606, allocations: 140.3 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002269/0.6629, allocations: 1.349 MB / 0.9509 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006902/0.6636, allocations: 455.4 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.6636, allocations: 4 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.097e-05/0.6637, allocations: 0 / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.6638, allocations: 6.688 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.664, allocations: 32.2 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.893e-05/0.6641, allocations: 36.53 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.6642, allocations: 5.359 kB / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.802e-05/0.6642, allocations: 9.438 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.6643, allocations: 14.86 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.6643, allocations: 0 / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.6644, allocations: 41.77 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.6645, allocations: 20.17 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.6645, allocations: 14.81 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.6646, allocations: 41.09 kB / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6646, allocations: 0 / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6646, allocations: 0 / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.6646, allocations: 0 / 0.9516 GB, free: 7.59 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003093/0.665, allocations: 355.7 kB / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.665, allocations: 9.625 kB / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.665, allocations: 10.31 kB / 0.952 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.6651, allocations: 168.5 kB / 0.9521 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.6652, allocations: 8.359 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.6652, allocations: 1.75 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.6653, allocations: 53.16 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.6653, allocations: 0 / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.6653, allocations: 0 / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6653, allocations: 1.375 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.6653, allocations: 8.125 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.6655, allocations: 174.6 kB / 0.9523 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.6655, allocations: 45.27 kB / 0.9524 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.6656, allocations: 16.16 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.6656, allocations: 1.531 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.6656, allocations: 46.44 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6656, allocations: 0 / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001344/0.6658, allocations: 46.44 kB / 0.9525 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.6658, allocations: 82.58 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.62e-05/0.6659, allocations: 136.8 kB / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.6659, allocations: 25.7 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.226e-05/0.6659, allocations: 97.41 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.6659, allocations: 9.094 kB / 0.9528 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.666, allocations: 31.27 kB / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.666, allocations: 321.4 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.6661, allocations: 19.72 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.6661, allocations: 24.61 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.6662, allocations: 52.53 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6662, allocations: 1.469 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001145/0.6663, allocations: 97.83 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.6663, allocations: 8.375 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.6664, allocations: 5.25 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6664, allocations: 1.562 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.385e-05/0.6664, allocations: 1.688 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.6664, allocations: 0.5938 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.6665, allocations: 6.781 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.6665, allocations: 0 / 0.9534 GB, free: 5.738 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 (3): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 5.196e-05/0.6665, allocations: 123.4 kB / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.6666, allocations: 9.219 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.6666, allocations: 3.531 kB / 0.9535 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.6666, allocations: 5.156 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6666, allocations: 1.344 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6666, allocations: 3.984 kB / 0.9535 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.368e-05/0.6667, allocations: 157.2 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6667, allocations: 1.125 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.6667, allocations: 2.594 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6667, allocations: 5.719 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.6667, allocations: 0 / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.6667, allocations: 1.312 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6667, allocations: 1.219 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.366e-05/0.6668, allocations: 88.02 kB / 0.9538 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.6668, allocations: 83.67 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.6669, allocations: 1.25 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.6669, allocations: 0 / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.6669, allocations: 5.203 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.6669, allocations: 1.25 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.6669, allocations: 101.5 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.667, allocations: 0 / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002181/0.6672, allocations: 15.28 kB / 0.954 GB, free: 5.105 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001647/0.6673, allocations: 116.6 kB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.6675, allocations: 84.02 kB / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6675, allocations: 0 / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.6675, allocations: 8.438 kB / 0.9542 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.6677, allocations: 17.84 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.6679, allocations: 170.5 kB / 0.9543 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.924e-05/0.6681, allocations: 0.6906 MB / 0.955 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.6681, allocations: 8.812 kB / 0.955 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6681, allocations: 0 / 0.955 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of Templates: time 0.002214/0.6703, allocations: 0.7307 MB / 0.9557 GB, free: 3.688 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches