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.001557/0.001557, allocations: 104 kB / 16.41 MB, free: 6.504 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.001656/0.001656, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 68.03 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9553/0.9567, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002405/0.9591, allocations: 1.254 MB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008973/0.96, allocations: 490.3 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.9601, allocations: 0.9375 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.9601, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.465e-05/0.9602, allocations: 1.625 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.9606, allocations: 53.59 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.894e-05/0.9607, allocations: 10.17 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.9607, allocations: 5.469 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.704e-05/0.9607, allocations: 8.203 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.9608, allocations: 8.609 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.9608, allocations: 0 / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.961, allocations: 71.11 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.9611, allocations: 8.062 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.9611, allocations: 13.72 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.9613, allocations: 55.92 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9613, allocations: 0 / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9613, allocations: 0 / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.9613, allocations: 5.406 kB / 1.091 GB, free: 4.215 MB / 0.8575 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.0003524/0.9617, allocations: 334 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.9617, allocations: 9.781 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.9618, allocations: 6 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.102e-05/0.9618, allocations: 162.9 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.9619, allocations: 5.406 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.9619, allocations: 6.469 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.962, allocations: 53.92 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.962, allocations: 0 / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.962, allocations: 0 / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.9621, allocations: 0.7812 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.9621, allocations: 17.52 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.9622, allocations: 156.4 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.425e-05/0.9623, allocations: 28.62 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.9623, allocations: 27.06 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.9623, allocations: 0 / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.9625, allocations: 77.16 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.9625, allocations: 0 / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002782/0.9628, allocations: 95.06 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.9629, allocations: 57.12 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.704e-05/0.9629, allocations: 95.38 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.9629, allocations: 33.23 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.226e-05/0.963, allocations: 81.39 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.963, allocations: 17.95 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.9631, allocations: 30.16 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.9631, allocations: 313.6 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.9632, allocations: 28.41 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.9633, allocations: 65.78 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.9634, allocations: 100.8 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9634, allocations: 0 / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001868/0.9636, allocations: 113.8 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.9636, allocations: 10.27 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.9636, allocations: 1.906 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.9637, allocations: 3.406 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.9638, allocations: 14.67 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.9638, allocations: 6.812 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.9638, allocations: 12.11 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.9638, allocations: 4.125 kB / 1.092 GB, free: 2.395 MB / 0.8575 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 0.0001115/0.964, allocations: 123.5 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.964, allocations: 6.094 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.964, allocations: 7.969 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.964, allocations: 1.406 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.964, allocations: 4.75 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.964, allocations: 0 / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.9641, allocations: 153 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9642, allocations: 8.656 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-06/0.9642, allocations: 0.8125 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.9642, allocations: 8.672 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.9642, allocations: 1.5 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.9642, allocations: 1.5 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9642, allocations: 0 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.9644, allocations: 113.5 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.9644, allocations: 83.16 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.9644, allocations: 4.906 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.9644, allocations: 0.5625 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.9645, allocations: 6.016 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.9645, allocations: 3.219 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.002e-05/0.9645, allocations: 80.28 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.9645, allocations: 0 / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002512/0.9648, allocations: 23.02 kB / 1.093 GB, free: 1.777 MB / 0.8575 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.0002269/0.965, allocations: 128.9 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.9652, allocations: 58.94 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9652, allocations: 1.062 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.941e-05/0.9652, allocations: 16.16 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.9654, allocations: 1.594 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.9657, allocations: 154.7 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.9659, allocations: 0.6777 MB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.966, allocations: 9.906 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.966, allocations: 0.7188 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of Templates: time 0.003129/0.9691, allocations: 0.8217 MB / 1.095 GB, free: 0.7578 MB / 0.8575 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/jenkins1/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) "" Variables in the reference:time,QAggShi_flow[3],QAggShi_flow[4] Variables in the result:QAggShi_flow[3],QAggShi_flow[4],time