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.001221/0.001221, allocations: 115 kB / 16.38 MB, free: 6.355 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.00134/0.00134, allocations: 188.2 kB / 17.31 MB, free: 5.895 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.471/2.471, allocations: 442.7 MB / 0.7166 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 67.78 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8285, allocations: 153 MB / 1.177 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002269/0.8309, allocations: 1.255 MB / 1.178 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000847/0.8317, allocations: 486.6 kB / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.8317, allocations: 0 / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.8318, allocations: 0 / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.8319, allocations: 0 / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.8322, allocations: 59.81 kB / 1.179 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.708e-05/0.8323, allocations: 15.97 kB / 1.179 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.8323, allocations: 4 kB / 1.179 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.073e-05/0.8324, allocations: 3.938 kB / 1.179 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.195e-05/0.8324, allocations: 4 kB / 1.179 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.754e-06/0.8324, allocations: 0 / 1.179 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.8326, allocations: 75.78 kB / 1.179 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.8327, allocations: 11.97 kB / 1.179 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.8327, allocations: 11.94 kB / 1.179 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.8328, allocations: 61.11 kB / 1.179 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8329, allocations: 4 kB / 1.179 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8329, allocations: 0 / 1.179 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8329, allocations: 0 / 1.179 GB, free: 8.742 MB / 0.9044 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.0004236/0.8333, allocations: 339.3 kB / 1.179 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.8334, allocations: 8.031 kB / 1.179 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.8334, allocations: 4.938 kB / 1.179 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.8335, allocations: 164.4 kB / 1.179 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.8335, allocations: 384 / 1.179 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.8335, allocations: 8.312 kB / 1.179 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.8337, allocations: 54 kB / 1.179 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8337, allocations: 4 kB / 1.179 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.8337, allocations: 0 / 1.179 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.8337, allocations: 0 / 1.179 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.17e-05/0.8338, allocations: 15.92 kB / 1.179 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.8339, allocations: 149.7 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.834, allocations: 34.64 kB / 1.179 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.834, allocations: 20.95 kB / 1.179 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-06/0.834, allocations: 4 kB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.8341, allocations: 67.33 kB / 1.18 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.8342, allocations: 3.938 kB / 1.18 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0002037/0.8344, allocations: 93.67 kB / 1.18 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.8344, allocations: 55.41 kB / 1.18 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.839e-05/0.8345, allocations: 97.75 kB / 1.18 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.8345, allocations: 33.73 kB / 1.18 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.8346, allocations: 88.09 kB / 1.18 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.8346, allocations: 17.72 kB / 1.18 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.8347, allocations: 29.7 kB / 1.18 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.8348, allocations: 318.8 kB / 1.18 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.8348, allocations: 19.98 kB / 1.18 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.8349, allocations: 69.92 kB / 1.18 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.835, allocations: 93.94 kB / 1.18 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.835, allocations: 4 kB / 1.18 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001495/0.8352, allocations: 117.4 kB / 1.181 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.8352, allocations: 7.938 kB / 1.181 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.8352, allocations: 4 kB / 1.181 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.8352, allocations: 0 / 1.181 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.8353, allocations: 15.94 kB / 1.181 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.8353, allocations: 4.203 kB / 1.181 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.8353, allocations: 15.88 kB / 1.181 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.8354, allocations: 8 kB / 1.181 GB, free: 6.551 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.429e-05/0.8355, allocations: 121.8 kB / 1.181 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.8355, allocations: 7.844 kB / 1.181 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.8355, allocations: 11.95 kB / 1.181 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8355, allocations: 4 kB / 1.181 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8355, allocations: 3.938 kB / 1.181 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.8356, allocations: 81.11 kB / 1.181 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.8356, allocations: 4 kB / 1.181 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.322e-05/0.8356, allocations: 0 / 1.181 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.8356, allocations: 0 / 1.181 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001272/0.8357, allocations: 153 kB / 1.181 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001618/0.8359, allocations: 262.9 kB / 1.181 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.552e-05/0.8359, allocations: 12 kB / 1.181 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.077e-05/0.836, allocations: 79.34 kB / 1.181 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of Backend: time 2.91e-07/0.836, allocations: 0 / 1.181 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000415/0.8364, allocations: 154.6 kB / 1.181 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000389/0.8368, allocations: 0.5609 MB / 1.182 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of Templates: time 0.00256/0.8394, allocations: 0.6838 MB / 1.183 GB, free: 4.375 MB / 0.9044 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/jenkins1/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