Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001119/0.001119, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001066/0.001066, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8414, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002246/0.8437, allocations: 1.242 MB / 1.169 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.8446, allocations: 489.3 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.8446, allocations: 4 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.8447, allocations: 0 / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.8448, allocations: 7.969 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.8452, allocations: 55.75 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.8452, allocations: 8 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.8453, allocations: 3.984 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.8453, allocations: 11.94 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.8454, allocations: 8 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.8454, allocations: 3.984 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.8456, allocations: 67.84 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.8456, allocations: 8 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.8457, allocations: 7.938 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.8459, allocations: 59.91 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8459, allocations: 0 / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8459, allocations: 3.938 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.8459, allocations: 0 / 1.169 GB, free: 1.891 MB / 0.8887 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.0003727/0.8463, allocations: 339.4 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.8463, allocations: 8.922 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.8464, allocations: 4.844 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.732e-05/0.8465, allocations: 172.3 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.8465, allocations: 384 / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.8465, allocations: 8.375 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.8466, allocations: 46 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.8466, allocations: 0 / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.8466, allocations: 3.984 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8466, allocations: 8 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.839e-05/0.8467, allocations: 12 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.8468, allocations: 153.7 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.973e-05/0.8469, allocations: 34.56 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.8469, allocations: 20.95 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.8469, allocations: 4 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.8471, allocations: 75.33 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.8471, allocations: 0 / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0002037/0.8473, allocations: 101.6 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.8473, allocations: 55.41 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.643e-05/0.8474, allocations: 89.86 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.8474, allocations: 33.7 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.8474, allocations: 80.14 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.8475, allocations: 21.62 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.8475, allocations: 29.75 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.8476, allocations: 314.8 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.8477, allocations: 23.98 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.8478, allocations: 63.25 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.8479, allocations: 101.9 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8479, allocations: 0 / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001654/0.8481, allocations: 121.4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.8481, allocations: 7.938 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8481, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.8481, allocations: 7.938 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.8482, allocations: 23.88 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.8482, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.8483, allocations: 7.938 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.8483, allocations: 4 kB / 1.171 GB, free: 15.7 MB / 0.9044 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.603e-05/0.8484, allocations: 126 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.8484, allocations: 3.938 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.8485, allocations: 7.906 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8485, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8485, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.8485, allocations: 89.02 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.8485, allocations: 7.984 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.8485, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.8486, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001364/0.8487, allocations: 153 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001602/0.8489, allocations: 250.7 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.434e-05/0.8489, allocations: 23.98 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.601e-05/0.849, allocations: 75.28 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of Backend: time 4.31e-07/0.849, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.8494, allocations: 138.4 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004162/0.8499, allocations: 0.568 MB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.002958/0.8528, allocations: 0.6757 MB / 1.173 GB, free: 13.53 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches