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.007195/0.007195, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001717/0.001717, allocations: 187 kB / 16.67 MB, free: 5.969 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 67.84 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2943, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002086/0.2965, allocations: 1.242 MB / 1.209 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008125/0.2973, allocations: 494.6 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.2973, allocations: 0 / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.2974, allocations: 3.938 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.187e-05/0.2975, allocations: 0 / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.2978, allocations: 47.88 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.627e-05/0.2978, allocations: 15.97 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.2979, allocations: 4 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.102e-05/0.2979, allocations: 11.94 kB / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.196e-05/0.298, allocations: 4 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.298, allocations: 0 / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.2981, allocations: 71.78 kB / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.2982, allocations: 16.42 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.2982, allocations: 7.984 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.2984, allocations: 55.86 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2984, allocations: 0 / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2984, allocations: 0 / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.2984, allocations: 4 kB / 1.209 GB, free: 8.188 MB / 0.9669 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.0003363/0.2987, allocations: 343.7 kB / 1.21 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2988, allocations: 12.61 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.2988, allocations: 34.75 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.2988, allocations: 0.9375 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.569e-05/0.2989, allocations: 164.4 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.2989, allocations: 4.375 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.299, allocations: 384 / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.893e-05/0.2991, allocations: 57.75 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.2991, allocations: 0 / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.2991, allocations: 0 / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2991, allocations: 7.984 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.001e-05/0.2991, allocations: 8 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.2993, allocations: 153.7 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.2993, allocations: 30.64 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.2994, allocations: 20.94 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-06/0.2994, allocations: 3.938 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.2995, allocations: 75.34 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.2995, allocations: 0 / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0001873/0.2997, allocations: 89.67 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.2997, allocations: 55.41 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.723e-05/0.2998, allocations: 105.8 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.2998, allocations: 25.7 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.2998, allocations: 92.02 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.2999, allocations: 19.78 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.2999, allocations: 37.73 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.3, allocations: 314.8 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.3001, allocations: 19.98 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.3001, allocations: 65.98 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.3002, allocations: 97.94 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3002, allocations: 0 / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001493/0.3004, allocations: 125.3 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3004, allocations: 8 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3004, allocations: 3.938 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3005, allocations: 4 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.3005, allocations: 11.98 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3005, allocations: 7.938 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.3006, allocations: 0 / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3006, allocations: 12 kB / 1.211 GB, free: 5.941 MB / 0.9669 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 8.693e-05/0.3007, allocations: 118.6 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.3007, allocations: 11.84 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.3007, allocations: 7.953 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3007, allocations: 3.984 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3007, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3008, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.3009, allocations: 153.6 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3009, allocations: 0 / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.3009, allocations: 3.938 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3009, allocations: 4 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.3009, allocations: 4 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3009, allocations: 0 / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3009, allocations: 0 / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.301, allocations: 109.3 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.3011, allocations: 85.05 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.3011, allocations: 4 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.3011, allocations: 4 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.3011, allocations: 4.031 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3012, allocations: 7.984 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.3012, allocations: 79.31 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3012, allocations: 3.938 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002175/0.3014, allocations: 20 kB / 1.212 GB, free: 5.23 MB / 0.9669 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.0004477/0.3019, allocations: 0.6787 MB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.302, allocations: 55.91 kB / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.302, allocations: 0 / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.85e-05/0.302, allocations: 16 kB / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3022, allocations: 4 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.3026, allocations: 159.5 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3028, allocations: 0.6884 MB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.095e-05/0.3028, allocations: 4 kB / 1.213 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.3028, allocations: 15.44 kB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3028, allocations: 0 / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.3205, allocations: 1.617 MB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.879, allocations: 12.03 kB / 1.215 GB, free: 2.102 MB / 0.9669 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