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.001411/0.001411, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001617/0.001616, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.57 MB / 190.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.332/2.332, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.89 kB / 0.8119 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6331/0.6343, allocations: 140.4 MB / 0.949 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001907/0.6362, allocations: 1.31 MB / 0.9502 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006542/0.6369, allocations: 487.2 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.314e-05/0.6369, allocations: 0 / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.6369, allocations: 0 / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.637, allocations: 1.406 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.6372, allocations: 45.88 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.6373, allocations: 20.27 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.6373, allocations: 8.891 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.898e-05/0.6374, allocations: 3.875 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.224e-05/0.6374, allocations: 11.66 kB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.6374, allocations: 4.922 kB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.6376, allocations: 71.72 kB / 0.9509 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.6376, allocations: 9.156 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.6377, allocations: 12.2 kB / 0.9509 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.6378, allocations: 63.55 kB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6378, allocations: 0 / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6378, allocations: 0 / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.6378, allocations: 0 / 0.9509 GB, free: 7.574 MB / 0.7169 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.0002639/0.6381, allocations: 340.6 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.6381, allocations: 16.91 kB / 0.9513 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.6382, allocations: 10.19 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.503e-05/0.6382, allocations: 165.7 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.6382, allocations: 384 / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.6382, allocations: 3.031 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.437e-05/0.6383, allocations: 56.98 kB / 0.9515 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-06/0.6384, allocations: 0 / 0.9515 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.6384, allocations: 0 / 0.9515 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6384, allocations: 0 / 0.9515 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.623e-05/0.6384, allocations: 12.19 kB / 0.9515 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.398e-05/0.6385, allocations: 161.9 kB / 0.9517 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/0.6385, allocations: 30.83 kB / 0.9517 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.6386, allocations: 21.16 kB / 0.9517 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-06/0.6386, allocations: 0 / 0.9517 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.6387, allocations: 69.16 kB / 0.9518 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.6387, allocations: 5.375 kB / 0.9518 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0001693/0.6389, allocations: 98.94 kB / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.6389, allocations: 55.53 kB / 0.9519 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.802e-05/0.6389, allocations: 99.22 kB / 0.952 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.6389, allocations: 28.45 kB / 0.9521 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.35e-05/0.639, allocations: 80.14 kB / 0.9521 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.639, allocations: 15.94 kB / 0.9522 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.639, allocations: 31.33 kB / 0.9522 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.6391, allocations: 320.2 kB / 0.9525 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.585e-05/0.6391, allocations: 20.36 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.6392, allocations: 71.8 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.6393, allocations: 95 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6393, allocations: 0 / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001421/0.6395, allocations: 115.3 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6395, allocations: 13.91 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6395, allocations: 1.031 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.6395, allocations: 3.125 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.6396, allocations: 13.86 kB / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.6396, allocations: 2.594 kB / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.6397, allocations: 14.47 kB / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.6397, allocations: 4.312 kB / 0.9528 GB, free: 5.672 MB / 0.7169 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.413e-05/0.6397, allocations: 130.5 kB / 0.953 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.6398, allocations: 9.047 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.63e-05/0.6398, allocations: 3.969 kB / 0.953 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6398, allocations: 1.75 kB / 0.953 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6398, allocations: 0 / 0.953 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.6398, allocations: 0 / 0.953 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.907e-05/0.6399, allocations: 154.3 kB / 0.9531 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6399, allocations: 3.938 kB / 0.9531 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-06/0.6399, allocations: 0 / 0.9531 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6399, allocations: 5.531 kB / 0.9531 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.6399, allocations: 0 / 0.9531 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6399, allocations: 9.125 kB / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6399, allocations: 0 / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.64, allocations: 106.7 kB / 0.9532 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.6401, allocations: 86.48 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.6401, allocations: 4.031 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.258e-05/0.6401, allocations: 3.984 kB / 0.9533 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.6401, allocations: 5.422 kB / 0.9533 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.6401, allocations: 6.25 kB / 0.9533 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.153e-05/0.6401, allocations: 76.53 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6401, allocations: 0 / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002266/0.6404, allocations: 26.62 kB / 0.9534 GB, free: 5.035 MB / 0.7169 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.0001625/0.6405, allocations: 132.5 kB / 0.9536 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.6407, allocations: 55.66 kB / 0.9536 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6407, allocations: 4.062 kB / 0.9536 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.6407, allocations: 18.53 kB / 0.9536 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.6409, allocations: 4.422 kB / 0.9536 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.6411, allocations: 128.3 kB / 0.9538 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.724e-05/0.6412, allocations: 0.6786 MB / 0.9544 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.6412, allocations: 3.906 kB / 0.9544 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.6412, allocations: 14.38 kB / 0.9544 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6413, allocations: 0 / 0.9544 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.002669/0.6439, allocations: 0.6322 MB / 0.9551 GB, free: 3.777 MB / 0.7169 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