Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ShiftAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002067/0.002067, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.89 kB / 0.8121 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6595, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002292/0.6619, allocations: 1.313 MB / 0.9504 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007662/0.6627, allocations: 484.1 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.6627, allocations: 0 / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.6627, allocations: 1.125 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.184e-05/0.6628, allocations: 0 / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.6632, allocations: 49.75 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.6633, allocations: 16.41 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.6633, allocations: 5.422 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.001e-05/0.6633, allocations: 2.938 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.6634, allocations: 11.77 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.6634, allocations: 1.375 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.6635, allocations: 68.75 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.6636, allocations: 9.281 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.6636, allocations: 17.89 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.6638, allocations: 53.2 kB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6638, allocations: 3.938 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6638, allocations: 4 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.6638, allocations: 1.688 kB / 0.9511 GB, free: 7.551 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002827/0.6641, allocations: 338.6 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.6641, allocations: 12.61 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.6642, allocations: 3.312 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.504e-05/0.6642, allocations: 164.3 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.6643, allocations: 5.562 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.6643, allocations: 2.75 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.6644, allocations: 52.5 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.6644, allocations: 4 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.6644, allocations: 1.188 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.6644, allocations: 0 / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.6644, allocations: 14.98 kB / 0.9517 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.6646, allocations: 157.1 kB / 0.9518 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.244e-05/0.6646, allocations: 28.92 kB / 0.9519 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.6646, allocations: 16.7 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.6646, allocations: 4 kB / 0.9519 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.6648, allocations: 77.16 kB / 0.952 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.6648, allocations: 0 / 0.952 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0001927/0.665, allocations: 100.5 kB / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.665, allocations: 55.16 kB / 0.9521 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.862e-05/0.665, allocations: 91.08 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.6651, allocations: 36.03 kB / 0.9522 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.623e-05/0.6651, allocations: 85.67 kB / 0.9523 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6651, allocations: 14.5 kB / 0.9523 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.6652, allocations: 31.98 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.6652, allocations: 311.9 kB / 0.9527 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.6653, allocations: 20.2 kB / 0.9527 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.6653, allocations: 71.61 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.6654, allocations: 97.47 kB / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6654, allocations: 5.562 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001406/0.6656, allocations: 114.4 kB / 0.9529 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6656, allocations: 9.688 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6656, allocations: 1.828 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6656, allocations: 2.781 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.6657, allocations: 17.81 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.6657, allocations: 6.203 kB / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.6658, allocations: 15.3 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.6658, allocations: 11.34 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.101e-05/0.6659, allocations: 123.2 kB / 0.9531 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.6659, allocations: 5.062 kB / 0.9531 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.6659, allocations: 9.062 kB / 0.9531 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6659, allocations: 0 / 0.9531 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6659, allocations: 0.9688 kB / 0.9531 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6659, allocations: 3.984 kB / 0.9531 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.349e-05/0.666, allocations: 149.2 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.666, allocations: 1.125 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-06/0.666, allocations: 0 / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.666, allocations: 8.891 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.666, allocations: 1.125 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.666, allocations: 0 / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.666, allocations: 1.094 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.6662, allocations: 107.2 kB / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.6662, allocations: 86.3 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.6662, allocations: 11.72 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.6662, allocations: 3.938 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.6663, allocations: 5.203 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.6663, allocations: 2.562 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.111e-05/0.6663, allocations: 75.28 kB / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6663, allocations: 0 / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002354/0.6665, allocations: 31.06 kB / 0.9536 GB, free: 5.016 MB / 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: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001727/0.6667, allocations: 127.5 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.6669, allocations: 60.25 kB / 0.9538 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6669, allocations: 0 / 0.9538 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.6669, allocations: 15.41 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.667, allocations: 2.781 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.6673, allocations: 119.8 kB / 0.9539 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.354e-05/0.6674, allocations: 0.6859 MB / 0.9546 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.267e-05/0.6674, allocations: 7.734 kB / 0.9546 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/0.6674, allocations: 14.34 kB / 0.9546 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6674, allocations: 0 / 0.9546 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of Templates: time 0.002686/0.6701, allocations: 0.6445 MB / 0.9552 GB, free: 3.758 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches