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.00148/0.00148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001653/0.001653, allocations: 195.1 kB / 16.14 MB, free: 6.695 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 72.84 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2498, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002159/0.252, allocations: 1.308 MB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007746/0.2528, allocations: 0.5024 MB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.2528, allocations: 3.938 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.2528, allocations: 0 / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.2529, allocations: 0 / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.2532, allocations: 47.88 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.49e-05/0.2533, allocations: 19.98 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.2533, allocations: 4 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.2533, allocations: 4 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.2534, allocations: 11.97 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.2534, allocations: 0 / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.2536, allocations: 67.86 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.2536, allocations: 11.92 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.2537, allocations: 8 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.2538, allocations: 67.83 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2539, allocations: 0 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2539, allocations: 4 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2539, allocations: 4 kB / 1.054 GB, free: 6.715 MB / 0.8106 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.0004126/0.2543, allocations: 331.8 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2543, allocations: 8.031 kB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.2544, allocations: 4.938 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.2545, allocations: 168.3 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2545, allocations: 4.375 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.2545, allocations: 4.375 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.2547, allocations: 50 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2547, allocations: 4 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2547, allocations: 4 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2547, allocations: 0 / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.2548, allocations: 15.98 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.2549, allocations: 149.6 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.255, allocations: 38.56 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.255, allocations: 20.95 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.2551, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.2552, allocations: 71.33 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2552, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002359/0.2555, allocations: 105.6 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.2555, allocations: 55.41 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.287e-05/0.2556, allocations: 89.86 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.2556, allocations: 33.7 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.2557, allocations: 80.14 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.2557, allocations: 31.7 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.2557, allocations: 25.72 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2559, allocations: 318.8 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.2559, allocations: 23.98 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.256, allocations: 61.94 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.2561, allocations: 101.9 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.2562, allocations: 4 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001558/0.2563, allocations: 117.5 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2563, allocations: 7.938 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2564, allocations: 4 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2564, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.2565, allocations: 15.94 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2565, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.2565, allocations: 7.906 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2565, allocations: 8.219 kB / 1.056 GB, free: 4.523 MB / 0.8106 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.0001075/0.2567, allocations: 123.4 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.2567, allocations: 7.938 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.2567, allocations: 7.969 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2567, allocations: 3.938 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2567, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2567, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.2569, allocations: 153.6 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2569, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-06/0.2569, allocations: 4 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2569, allocations: 3.938 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.2569, allocations: 7.984 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.2569, allocations: 0 / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2569, allocations: 0 / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.257, allocations: 101 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.2571, allocations: 89.03 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.2571, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.229e-05/0.2571, allocations: 8.031 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.2572, allocations: 4 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2572, allocations: 8 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.2572, allocations: 75.28 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.695e-06/0.2572, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002324/0.2575, allocations: 27.88 kB / 1.057 GB, free: 3.816 MB / 0.8106 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.0001949/0.2577, allocations: 131.2 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.2578, allocations: 59.92 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2578, allocations: 0 / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.2578, allocations: 15.98 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.258, allocations: 4 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.2582, allocations: 119.2 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2585, allocations: 0.6814 MB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.799e-05/0.2585, allocations: 11.94 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.2586, allocations: 11.44 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.2586, allocations: 3.938 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of Templates: time 0.002743/0.2613, allocations: 0.6446 MB / 1.058 GB, free: 2.125 MB / 0.8106 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