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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009678/0.0009678, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005684/0.005684, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 13.55 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2787, allocations: 159.6 MB / 1.059 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001317/0.28, allocations: 0.9734 MB / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.281, allocations: 0.4908 MB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.281, allocations: 0 / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.281, allocations: 4 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.2811, allocations: 4 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.2814, allocations: 43.88 kB / 1.06 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.993e-05/0.2815, allocations: 23.97 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.2815, allocations: 4 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.2816, allocations: 3.984 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.281e-05/0.2816, allocations: 8 kB / 1.06 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.2816, allocations: 4 kB / 1.06 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.2818, allocations: 63.84 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.2819, allocations: 19.92 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.2819, allocations: 41.62 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.2821, allocations: 59.84 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2821, allocations: 0 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2821, allocations: 0 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2821, allocations: 0 / 1.06 GB, free: 3.672 MB / 0.8106 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.0003263/0.2824, allocations: 336.8 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2825, allocations: 16.02 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.2825, allocations: 0.9375 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.2826, allocations: 160.4 kB / 1.061 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2826, allocations: 8.375 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2826, allocations: 4.375 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.2828, allocations: 50 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.2828, allocations: 0 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2828, allocations: 0 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2828, allocations: 0 / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.2828, allocations: 15.98 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.283, allocations: 161.5 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.88e-05/0.283, allocations: 30.64 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.2831, allocations: 16.95 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-06/0.2831, allocations: 0 / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.2832, allocations: 75.33 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2832, allocations: 0 / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000193/0.2834, allocations: 93.61 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2834, allocations: 59.44 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.725e-05/0.2835, allocations: 93.86 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.2835, allocations: 33.69 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.2836, allocations: 80.14 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.2836, allocations: 23.73 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.2836, allocations: 17.72 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.2837, allocations: 322.8 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.681e-05/0.2838, allocations: 19.98 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.2839, allocations: 68.62 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.284, allocations: 105.9 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.284, allocations: 0 / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001795/0.2842, allocations: 113.5 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2842, allocations: 7.938 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2842, allocations: 4 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.2842, allocations: 224 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.2843, allocations: 23.94 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2843, allocations: 4 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.2844, allocations: 3.906 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.2844, allocations: 7.938 kB / 1.062 GB, free: 1.492 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.644e-05/0.2845, allocations: 126.5 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.2845, allocations: 7.938 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.2845, allocations: 7.969 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2845, allocations: 0 / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2845, allocations: 4 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2845, allocations: 0 / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.2847, allocations: 153.6 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2847, allocations: 0 / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-06/0.2847, allocations: 0 / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2847, allocations: 3.938 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2847, allocations: 7.984 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2847, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2847, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.2848, allocations: 105 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.2849, allocations: 89.03 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2849, allocations: 4 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.235e-05/0.2849, allocations: 0 / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.2849, allocations: 3.938 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.285, allocations: 4 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.398e-05/0.285, allocations: 75.28 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.285, allocations: 0 / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000231/0.2852, allocations: 24 kB / 1.063 GB, free: 0.793 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.0001948/0.2854, allocations: 139.2 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.2856, allocations: 55.92 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2856, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.2856, allocations: 15.98 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.2857, allocations: 4 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.286, allocations: 125.1 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.2863, allocations: 0.6848 MB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.2863, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.2863, allocations: 7.438 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2863, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.002693/0.289, allocations: 0.6431 MB / 1.064 GB, free: 15.11 MB / 0.8262 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","/var/lib/jenkins/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