Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007806/0.007806, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.001944/0.001945, allocations: 199.2 kB / 16.67 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 72.09 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2753, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002189/0.2775, allocations: 1.253 MB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.2784, allocations: 490.6 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.2784, allocations: 3.938 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.2785, allocations: 4 kB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.572e-05/0.2785, allocations: 3.984 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.2788, allocations: 51.88 kB / 1.21 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.606e-05/0.2789, allocations: 4 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.2789, allocations: 7.984 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.279, allocations: 8 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.095e-05/0.279, allocations: 7.922 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.334e-06/0.279, allocations: 0 / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.2792, allocations: 71.84 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.2792, allocations: 8.5 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.2793, allocations: 7.938 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2794, allocations: 63.84 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2794, allocations: 0 / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2794, allocations: 0 / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2794, allocations: 0 / 1.21 GB, free: 7.629 MB / 0.9669 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.0003347/0.2798, allocations: 343.4 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2798, allocations: 8.625 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.2798, allocations: 0.9375 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.018e-05/0.2799, allocations: 168.4 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2799, allocations: 8.375 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.28, allocations: 384 / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.2801, allocations: 57.94 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.2801, allocations: 0 / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2801, allocations: 0 / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.2801, allocations: 0 / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.2801, allocations: 8 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.2803, allocations: 153.7 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.2803, allocations: 34.62 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.2804, allocations: 16.95 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.2804, allocations: 3.938 kB / 1.21 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.2805, allocations: 79.31 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2805, allocations: 0 / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0001873/0.2807, allocations: 93.66 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.2808, allocations: 63.44 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.419e-05/0.2808, allocations: 93.77 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2808, allocations: 29.7 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.2809, allocations: 95.97 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.2809, allocations: 15.83 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.2809, allocations: 33.66 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.281, allocations: 314.8 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.2811, allocations: 19.98 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.2812, allocations: 70 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.2813, allocations: 97.92 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2813, allocations: 0 / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001628/0.2814, allocations: 121.4 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.2815, allocations: 11.94 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2815, allocations: 4.219 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2815, allocations: 8 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.2816, allocations: 8 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2816, allocations: 7.938 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.2816, allocations: 4 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.2817, allocations: 4 kB / 1.212 GB, free: 5.426 MB / 0.9669 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 8.492e-05/0.2817, allocations: 122.3 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.2818, allocations: 7.844 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.2818, allocations: 11.97 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2818, allocations: 0 / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2818, allocations: 0 / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2818, allocations: 0 / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.2819, allocations: 153.6 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2819, allocations: 0 / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-06/0.2819, allocations: 7.984 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.282, allocations: 3.938 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.282, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.282, allocations: 3.984 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.282, allocations: 3.938 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.2821, allocations: 109.1 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.2821, allocations: 85.03 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2822, allocations: 4 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.2822, allocations: 0 / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.2822, allocations: 0 / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.2822, allocations: 4 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.749e-05/0.2823, allocations: 79.31 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2823, allocations: 4.031 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002315/0.2825, allocations: 24 kB / 1.212 GB, free: 4.715 MB / 0.9669 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.0001735/0.2827, allocations: 131.2 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.2828, allocations: 59.86 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2828, allocations: 0 / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.2829, allocations: 24.36 kB / 1.212 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.283, allocations: 4.062 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.2832, allocations: 121.4 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.2835, allocations: 0.6807 MB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.2835, allocations: 4 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.2835, allocations: 7.438 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.2835, allocations: 0 / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of Templates: time 0.002557/0.2861, allocations: 0.674 MB / 1.214 GB, free: 3.004 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches