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.007256/0.007256, allocations: 100.8 kB / 15.73 MB, free: 6.043 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.001629/0.00163, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.45/2.45, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.12 kB / 0.9509 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2566, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002012/0.2587, allocations: 1.246 MB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007988/0.2595, allocations: 492.5 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.2595, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.2596, allocations: 4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.835e-05/0.2596, allocations: 8 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.26, allocations: 43.88 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.26, allocations: 19.92 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.2601, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.987e-05/0.2601, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.2601, allocations: 7.984 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.2602, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.2603, allocations: 71.84 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.2604, allocations: 15.92 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.2604, allocations: 8 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2605, allocations: 58.23 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2606, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2606, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2606, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 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.0003199/0.2609, allocations: 339.5 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.2609, allocations: 8.031 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.261, allocations: 0.9375 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.359e-05/0.2611, allocations: 172.3 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2611, allocations: 4.375 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2611, allocations: 4.375 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.2612, allocations: 50 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2612, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2612, allocations: 4 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2612, allocations: 3.938 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.2613, allocations: 11.98 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.2614, allocations: 161.6 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.842e-05/0.2614, allocations: 38.58 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.2615, allocations: 16.95 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-06/0.2615, allocations: 0 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.2616, allocations: 75.31 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2616, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000192/0.2618, allocations: 93.67 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.2619, allocations: 63.38 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.107e-05/0.2619, allocations: 93.86 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2619, allocations: 33.69 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/0.262, allocations: 84.08 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.262, allocations: 19.75 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.262, allocations: 29.7 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.2621, allocations: 314.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.2622, allocations: 23.98 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.2622, allocations: 73.98 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.2624, allocations: 97.88 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2624, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001501/0.2625, allocations: 113.5 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2626, allocations: 9.188 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2626, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2626, allocations: 8.219 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.2627, allocations: 15.94 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.2627, allocations: 3.984 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.2627, allocations: 7.906 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.2627, allocations: 8 kB / 1.092 GB, free: 13.3 MB / 0.8575 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 7.83e-05/0.2628, allocations: 122.3 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.2628, allocations: 3.938 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.2629, allocations: 3.969 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2629, allocations: 7.984 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2629, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2629, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.263, allocations: 145.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.263, allocations: 3.984 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-06/0.263, allocations: 3.938 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.263, allocations: 3.938 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.263, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.263, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.263, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.2632, allocations: 121.2 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.2632, allocations: 84.98 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.2632, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.508e-05/0.2633, allocations: 8 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.2633, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2633, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.261e-05/0.2633, allocations: 75.28 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2633, allocations: 3.938 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002206/0.2635, allocations: 28.02 kB / 1.092 GB, free: 12.58 MB / 0.8575 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.0001674/0.2637, allocations: 124.4 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.2638, allocations: 59.84 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2639, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.783e-05/0.2639, allocations: 16 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.264, allocations: 0.5 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.2643, allocations: 133.5 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.2645, allocations: 0.6768 MB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.2645, allocations: 7.984 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.2645, allocations: 7.438 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2645, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.002469/0.267, allocations: 0.6722 MB / 1.094 GB, free: 10.87 MB / 0.8575 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