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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001415/0.001415, allocations: 118.5 kB / 16.37 MB, free: 5.984 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.001495/0.001495, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 64.47 kB / 0.8774 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2594, allocations: 153 MB / 1.027 GB, free: 1.992 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002854/0.2623, allocations: 1.251 MB / 1.028 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.2632, allocations: 490.6 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.717e-05/0.2632, allocations: 8 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.2633, allocations: 3.938 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.2634, allocations: 3.938 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.2637, allocations: 47.86 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.2637, allocations: 11.98 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.2638, allocations: 7.984 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.2638, allocations: 8 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.703e-05/0.2639, allocations: 7.938 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.765e-06/0.2639, allocations: 0 / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.2641, allocations: 71.84 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.2641, allocations: 7.984 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.2642, allocations: 15.88 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2643, allocations: 55.91 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2643, allocations: 0 / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2643, allocations: 0 / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.2643, allocations: 0 / 1.029 GB, free: 4 kB / 0.795 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.0003731/0.2647, allocations: 335.5 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2648, allocations: 8.031 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.2648, allocations: 8.938 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.081e-05/0.2649, allocations: 164.4 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2649, allocations: 384 / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2649, allocations: 8.375 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.265, allocations: 49.75 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2651, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2651, allocations: 3.938 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2651, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.63e-05/0.2651, allocations: 12 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.2653, allocations: 161.6 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.796e-05/0.2653, allocations: 30.62 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.2653, allocations: 20.95 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.2654, allocations: 0 / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.2655, allocations: 79.27 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.2655, allocations: 0 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002227/0.2657, allocations: 93.7 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2658, allocations: 63.39 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.248e-05/0.2658, allocations: 89.86 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.2659, allocations: 33.7 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.887e-05/0.2659, allocations: 80.14 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.2659, allocations: 23.73 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.266, allocations: 25.72 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2661, allocations: 318.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.2661, allocations: 27.98 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.2662, allocations: 68.94 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.2663, allocations: 101.9 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2664, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001621/0.2665, allocations: 121.4 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2665, allocations: 4.219 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2666, allocations: 12.22 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2666, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.2667, allocations: 16 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.2667, allocations: 3.984 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.2667, allocations: 7.906 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.2667, allocations: 4 kB / 1.031 GB, free: 13.8 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 9.762e-05/0.2668, allocations: 130.4 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.2668, allocations: 3.938 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.2669, allocations: 7.969 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2669, allocations: 4 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2669, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2669, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.267, allocations: 157.6 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.267, allocations: 3.938 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-06/0.267, allocations: 3.938 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.267, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2671, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2671, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2671, allocations: 7.984 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.2672, allocations: 109 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.2672, allocations: 81.05 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.2673, allocations: 7.984 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.2673, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.2673, allocations: 4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2673, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.2674, allocations: 75.28 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2674, allocations: 4.031 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002323/0.2676, allocations: 24 kB / 1.031 GB, free: 13.1 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.0001946/0.2678, allocations: 123.2 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.2679, allocations: 55.91 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.268, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/0.268, allocations: 28.36 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.2681, allocations: 4.062 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.2684, allocations: 117.5 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.2686, allocations: 0.6807 MB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.2686, allocations: 4 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.2687, allocations: 15.38 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2687, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of Templates: time 0.002766/0.2714, allocations: 0.6782 MB / 1.033 GB, free: 11.38 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 -s gbode -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/jenkins1/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