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.001263/0.001263, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001347/0.001347, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.67/2.67, allocations: 436.5 MB / 0.7104 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 8 kB / 0.8708 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7585, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00126/0.7598, allocations: 0.9689 MB / 1.022 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007371/0.7606, allocations: 447.4 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.7606, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.7606, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.356e-05/0.7607, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.761, allocations: 47.81 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.264e-05/0.761, allocations: 4 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.7611, allocations: 0 / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.7611, allocations: 7.984 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.48e-05/0.7611, allocations: 11.98 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.7612, allocations: 0 / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.7613, allocations: 35.91 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.7613, allocations: 11.98 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.7614, allocations: 29.7 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.55e-05/0.7615, allocations: 35.94 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.7615, allocations: 0 / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7615, allocations: 0 / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.7615, allocations: 0 / 1.022 GB, free: 15.46 MB / 0.7794 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.0003316/0.7618, allocations: 333.3 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.7619, allocations: 11.98 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.7619, allocations: 0 / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.568e-05/0.762, allocations: 171 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.762, allocations: 0 / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.7621, allocations: 7.938 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.7622, allocations: 57.58 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.7622, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.7622, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7622, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.673e-05/0.7622, allocations: 12 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.7624, allocations: 153.7 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.7624, allocations: 30.62 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.7625, allocations: 7.938 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.7626, allocations: 75.44 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7626, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002535/0.7629, allocations: 178.7 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.7629, allocations: 55.41 kB / 1.023 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.012e-05/0.763, allocations: 93.8 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.763, allocations: 33.7 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.7631, allocations: 88.11 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.7631, allocations: 23.78 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.7631, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7632, allocations: 314.8 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.718e-05/0.7633, allocations: 19.98 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.7634, allocations: 69.98 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/0.7634, allocations: 35.98 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7634, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001507/0.7636, allocations: 109.7 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7636, allocations: 8.031 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.7636, allocations: 7.953 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.7636, allocations: 4 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.7637, allocations: 11.98 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.7637, allocations: 4 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.7638, allocations: 11.84 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.7638, allocations: 4 kB / 1.024 GB, free: 13.31 MB / 0.7794 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.803e-05/0.7639, allocations: 129.8 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.7639, allocations: 8 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.7639, allocations: 3.969 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.764, allocations: 3.953 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.764, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.764, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.7641, allocations: 153.7 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.7641, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-06/0.7641, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.7641, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.7641, allocations: 8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7641, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7642, allocations: 7.891 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.7643, allocations: 109 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.7644, allocations: 85.02 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.7644, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.7644, allocations: 7.984 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.7644, allocations: 3.953 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.7645, allocations: 7.938 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.7645, allocations: 83.34 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7645, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002195/0.7647, allocations: 19.94 kB / 1.025 GB, free: 12.59 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001956/0.7649, allocations: 123.2 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.7651, allocations: 55.91 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7651, allocations: 448 / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-05/0.7651, allocations: 23.94 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.984e-05/0.7652, allocations: 0 / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.7655, allocations: 114.4 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.7658, allocations: 0.6887 MB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.7658, allocations: 7.984 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.7658, allocations: 7.438 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7658, allocations: 4.062 kB / 1.026 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of Templates: time 0.002719/0.7685, allocations: 0.6289 MB / 1.026 GB, free: 10.93 MB / 0.7794 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","../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