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: "" <> 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.0009262/0.0009262, allocations: 91.45 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.006049/0.006049, allocations: 171.3 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.477/2.477, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002872, allocations: 10.47 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2356, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001147/0.2368, allocations: 0.9766 MB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007339/0.2375, allocations: 490.8 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.174e-05/0.2376, allocations: 0 / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.2376, allocations: 0 / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/0.2377, allocations: 4 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.2379, allocations: 39.94 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.238, allocations: 23.92 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.238, allocations: 3.984 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.238, allocations: 11.98 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.541e-05/0.2381, allocations: 11.94 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.2381, allocations: 0 / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.2382, allocations: 63.86 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.2383, allocations: 15.98 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.2383, allocations: 37.62 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.2384, allocations: 63.89 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2384, allocations: 0 / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2385, allocations: 0 / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2385, allocations: 0 / 1.06 GB, free: 3.082 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.0002853/0.2388, allocations: 331.8 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2388, allocations: 15.97 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.2388, allocations: 38.67 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.078e-05/0.2389, allocations: 4.938 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.683e-05/0.239, allocations: 164.3 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.239, allocations: 8.375 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.239, allocations: 384 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.593e-05/0.2391, allocations: 53.81 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-06/0.2391, allocations: 0 / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.2391, allocations: 4 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2391, allocations: 0 / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.2391, allocations: 15.92 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.2393, allocations: 157.6 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.2393, allocations: 34.58 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.2394, allocations: 16.95 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.2394, allocations: 0 / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.2395, allocations: 75.33 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2395, allocations: 0 / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000172/0.2397, allocations: 97.84 kB / 1.061 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.2397, allocations: 55.41 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.292e-05/0.2398, allocations: 89.86 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.2398, allocations: 33.69 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.2398, allocations: 84.14 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.2399, allocations: 15.75 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.2399, allocations: 25.75 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.24, allocations: 318.8 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/0.24, allocations: 19.98 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.2401, allocations: 66 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2402, allocations: 101.9 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2402, allocations: 0 / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001466/0.2404, allocations: 117.5 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2404, allocations: 8 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2404, allocations: 3.984 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2404, allocations: 4 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.2405, allocations: 11.94 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2405, allocations: 4 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.2405, allocations: 7.906 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2405, allocations: 8 kB / 1.062 GB, free: 0.8555 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 8.698e-05/0.2406, allocations: 122.8 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.2407, allocations: 7.938 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.407e-05/0.2407, allocations: 3.969 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2407, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2407, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2407, allocations: 7.922 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.2408, allocations: 161.5 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2408, allocations: 0 / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-06/0.2408, allocations: 3.938 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2408, allocations: 7.938 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2408, allocations: 7.984 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.2409, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2409, allocations: 0 / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.241, allocations: 101 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.241, allocations: 89.03 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.241, allocations: 12 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.2411, allocations: 0 / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.2411, allocations: 4.031 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2411, allocations: 4 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.2411, allocations: 75.28 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2411, allocations: 0 / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002172/0.2413, allocations: 24 kB / 1.063 GB, free: 144 kB / 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.0004354/0.2418, allocations: 0.6748 MB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.2419, allocations: 51.92 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2419, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.242, allocations: 27.91 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.2421, allocations: 5.531 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.2424, allocations: 162.7 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.2426, allocations: 0.677 MB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.2427, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.2427, allocations: 19.42 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2427, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.091/1.333, allocations: 1.388 MB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/1.334, allocations: 290.7 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/3.083, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8262 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