Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.004737/0.004737, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001094/0.001094, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.91 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7909/0.7921, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002171/0.7943, allocations: 1.261 MB / 1.167 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.7951, allocations: 485.3 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.7951, allocations: 0 / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.7951, allocations: 0 / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.7952, allocations: 7.984 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.7955, allocations: 55.81 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.7956, allocations: 19.97 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.7956, allocations: 0 / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.084e-05/0.7957, allocations: 7.938 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.186e-05/0.7957, allocations: 4 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.355e-06/0.7957, allocations: 0 / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.7959, allocations: 71.83 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.7959, allocations: 4 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.796, allocations: 15.92 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.7961, allocations: 59.92 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7961, allocations: 0 / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7961, allocations: 3.938 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7961, allocations: 0 / 1.168 GB, free: 1.809 MB / 0.8887 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.0003588/0.7965, allocations: 333.8 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.7965, allocations: 8.922 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.7966, allocations: 38.73 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.7966, allocations: 8.844 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.742e-05/0.7967, allocations: 164.3 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.7967, allocations: 8.312 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.7967, allocations: 4.375 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.7968, allocations: 49.81 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.7969, allocations: 0 / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.7969, allocations: 4 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7969, allocations: 0 / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.7969, allocations: 15.98 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.797, allocations: 149.7 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.7971, allocations: 42.45 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.7971, allocations: 20.95 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.7972, allocations: 3.984 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.7973, allocations: 63.34 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.7973, allocations: 0 / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0001947/0.7975, allocations: 93.67 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.7975, allocations: 63.33 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.05e-05/0.7976, allocations: 105.8 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.7976, allocations: 29.7 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.7977, allocations: 84.14 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.7977, allocations: 7.906 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.7977, allocations: 29.7 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7979, allocations: 318.8 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.61e-05/0.7979, allocations: 19.98 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.798, allocations: 71.73 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.7981, allocations: 97.88 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7981, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000155/0.7983, allocations: 117.4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.7983, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.7983, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.7983, allocations: 8.156 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.49e-05/0.7984, allocations: 19.92 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7984, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.7984, allocations: 11.94 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.7985, allocations: 4 kB / 1.17 GB, free: 15.57 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.484e-05/0.7986, allocations: 121.8 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.7986, allocations: 7.844 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.7986, allocations: 11.95 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.7986, allocations: 4 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7986, allocations: 4 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.7986, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.7987, allocations: 153.7 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7988, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.7988, allocations: 3.938 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.7988, allocations: 3.938 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.7988, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7988, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.7988, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.7989, allocations: 105.1 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.799, allocations: 85.05 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.799, allocations: 0 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.799, allocations: 4 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.799, allocations: 3.938 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.7991, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.642e-05/0.7991, allocations: 79.27 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7991, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002122/0.7993, allocations: 27.97 kB / 1.171 GB, free: 14.86 MB / 0.9044 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.0004481/0.7998, allocations: 0.6747 MB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.7999, allocations: 56.31 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.7999, allocations: 4.062 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.7999, allocations: 16 kB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.8001, allocations: 4 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.8005, allocations: 158.4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.8007, allocations: 0.683 MB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.8007, allocations: 7.938 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.8008, allocations: 7.438 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.8008, allocations: 8.062 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.817, allocations: 1.592 MB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/8.118, allocations: 12.83 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches