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.008908/0.008908, allocations: 104.3 kB / 15.74 MB, free: 6.059 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.001969/0.001969, allocations: 196.7 kB / 16.68 MB, free: 5.969 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.284/2.284, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 71.88 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.8003, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001967/0.8023, allocations: 1.256 MB / 1.089 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.803, allocations: 493.2 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.8031, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.8031, allocations: 0.7969 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.8032, allocations: 5.094 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.8035, allocations: 46.06 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.883e-05/0.8035, allocations: 9.359 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.8036, allocations: 2.266 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.189e-05/0.8036, allocations: 12.02 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/0.8036, allocations: 12.5 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.8036, allocations: 0 / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.8038, allocations: 71.23 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.8039, allocations: 8.578 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.8039, allocations: 12.95 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.804, allocations: 55.59 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.804, allocations: 1.344 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.804, allocations: 0 / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.8041, allocations: 0 / 1.09 GB, free: 4.219 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.0002779/0.8043, allocations: 334 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.8044, allocations: 10.31 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.8044, allocations: 1.875 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.179e-05/0.8045, allocations: 162.8 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.8045, allocations: 5.5 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.8045, allocations: 10.47 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.742e-05/0.8046, allocations: 50.11 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.8046, allocations: 3.938 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.8046, allocations: 0 / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.8046, allocations: 5.125 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.8047, allocations: 13.58 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.589e-05/0.8048, allocations: 155.7 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.8048, allocations: 33.09 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.8048, allocations: 26.09 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-06/0.8048, allocations: 1.812 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.805, allocations: 75.84 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.805, allocations: 0 / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0001829/0.8051, allocations: 95.53 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.8052, allocations: 56.75 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.8e-05/0.8052, allocations: 99.23 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.8052, allocations: 33.7 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.344e-05/0.8052, allocations: 80.14 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.8053, allocations: 18.42 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.8053, allocations: 30.81 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.8054, allocations: 313.5 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.8054, allocations: 24.81 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.8055, allocations: 69.3 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.8056, allocations: 96.83 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8056, allocations: 4.812 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001486/0.8057, allocations: 112.7 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.8057, allocations: 10.66 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8058, allocations: 1.938 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.8058, allocations: 3.031 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.8059, allocations: 15.94 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8059, allocations: 7.078 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.8059, allocations: 10.5 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.8059, allocations: 4.5 kB / 1.092 GB, free: 2.391 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 6.408e-05/0.806, allocations: 124.3 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.806, allocations: 5.422 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.806, allocations: 3.969 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.806, allocations: 5.328 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.806, allocations: 0.9375 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.806, allocations: 0 / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.265e-05/0.8061, allocations: 153.8 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8061, allocations: 0 / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-06/0.8061, allocations: 5 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.8061, allocations: 4.453 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.8062, allocations: 1.797 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.8062, allocations: 4.75 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8062, allocations: 3.938 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.8063, allocations: 115 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.8063, allocations: 81.95 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.8063, allocations: 4.625 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.275e-05/0.8064, allocations: 1.422 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.8064, allocations: 1.391 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.8064, allocations: 3.594 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.989e-06/0.8064, allocations: 75.28 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8064, allocations: 0.875 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002257/0.8066, allocations: 30.53 kB / 1.092 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.0001714/0.8068, allocations: 124.3 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.807, allocations: 58.67 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.807, allocations: 4.938 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.807, allocations: 17.11 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.8072, allocations: 6.875 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.8074, allocations: 118.9 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.407e-05/0.8075, allocations: 0.6787 MB / 1.093 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.8075, allocations: 8.672 kB / 1.093 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.8075, allocations: 10.56 kB / 1.093 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.8075, allocations: 0 / 1.093 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of Templates: time 0.002743/0.8103, allocations: 0.6744 MB / 1.094 GB, free: 0.7812 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/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