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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 60.14 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.234, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002058/0.2361, allocations: 1.242 MB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000737/0.2368, allocations: 0.4946 MB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.2369, allocations: 0 / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.2369, allocations: 0 / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.254e-05/0.237, allocations: 11.92 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.2372, allocations: 47.88 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.651e-05/0.2373, allocations: 4 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.2373, allocations: 11.98 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.2374, allocations: 7.984 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.802e-05/0.2374, allocations: 0 / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.2374, allocations: 4 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.2376, allocations: 75.84 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.2376, allocations: 7.938 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.2377, allocations: 11.92 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.2378, allocations: 63.84 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2378, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2378, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.2378, allocations: 3.938 kB / 1.055 GB, free: 6.254 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.0002906/0.2381, allocations: 331.8 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.2381, allocations: 16.62 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.2382, allocations: 34.73 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.2382, allocations: 0.9375 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.2383, allocations: 168.4 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.2383, allocations: 384 / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.2383, allocations: 384 / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.16e-05/0.2384, allocations: 57.75 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.2384, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.2384, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.2384, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.2385, allocations: 15.98 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.2386, allocations: 157.6 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.199e-05/0.2386, allocations: 30.64 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.2387, allocations: 16.95 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-06/0.2387, allocations: 0 / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.2388, allocations: 75.27 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.083e-06/0.2388, allocations: 4 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0001693/0.239, allocations: 93.91 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.239, allocations: 55.41 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.425e-05/0.2391, allocations: 97.8 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2391, allocations: 33.69 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.2391, allocations: 80.14 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.2391, allocations: 19.75 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.2392, allocations: 29.7 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.2393, allocations: 318.9 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.2393, allocations: 27.92 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.2394, allocations: 69.98 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.944e-05/0.2395, allocations: 93.94 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2395, allocations: 0 / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001412/0.2396, allocations: 125.5 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.2396, allocations: 4 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2396, allocations: 0 / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2397, allocations: 4 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.2397, allocations: 8 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2397, allocations: 11.97 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.2398, allocations: 11.84 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2398, allocations: 8 kB / 1.057 GB, free: 4.02 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 7.521e-05/0.2399, allocations: 123.5 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.2399, allocations: 3.938 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.481e-05/0.2399, allocations: 3.969 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2399, allocations: 3.938 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2399, allocations: 3.984 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2399, allocations: 4 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.438e-05/0.24, allocations: 149.6 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.24, allocations: 8 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-06/0.24, allocations: 11.91 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2401, allocations: 0 / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.2401, allocations: 4 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2401, allocations: 0 / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2401, allocations: 0 / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.2402, allocations: 113 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.2402, allocations: 81.05 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.2402, allocations: 4 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.26e-05/0.2403, allocations: 4 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.2403, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2403, allocations: 11.97 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 1.975e-05/0.2403, allocations: 75.28 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2403, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002117/0.2405, allocations: 23.98 kB / 1.057 GB, free: 3.309 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.000381/0.2409, allocations: 0.674 MB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.241, allocations: 51.92 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.2411, allocations: 0 / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.2411, allocations: 19.98 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.2412, allocations: 0.7031 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.2416, allocations: 163.6 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.2418, allocations: 0.6845 MB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.908e-05/0.2418, allocations: 4 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.2418, allocations: 15.44 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.2418, allocations: 0 / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4552/0.697, allocations: 1.573 MB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.49, allocations: 14.97 kB / 1.061 GB, free: 220 kB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > 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