Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.AggregationCellTimes,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001294/0.001294, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.496/1.496, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.6961, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002241/0.6984, allocations: 1.36 MB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006869/0.6991, allocations: 447 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.6991, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.738e-05/0.6992, allocations: 3.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.6993, allocations: 11.97 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.6995, allocations: 19.92 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.6996, allocations: 43.88 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.6996, allocations: 8 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.6996, allocations: 11.94 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.6997, allocations: 11.98 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.6997, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.6998, allocations: 43.89 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.6999, allocations: 19.91 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.6999, allocations: 19.88 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.7, allocations: 54.12 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7001, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7001, allocations: 7.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.7001, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003497/0.7004, allocations: 355.4 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.7005, allocations: 8.031 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.7005, allocations: 30.75 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.7005, allocations: 4.844 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.7007, allocations: 168.4 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.7007, allocations: 384 / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.7007, allocations: 4.312 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.7008, allocations: 55.47 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.7008, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.7008, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.7008, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/0.7009, allocations: 8 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.701, allocations: 174.5 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.586e-05/0.7011, allocations: 37.16 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.7011, allocations: 25.77 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.7011, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.7012, allocations: 38.5 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.7012, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.00012/0.7013, allocations: 53.53 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7013, allocations: 81.36 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/0.7014, allocations: 133.7 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.7015, allocations: 29.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.7015, allocations: 92.02 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.7015, allocations: 15.78 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.7016, allocations: 25.72 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7017, allocations: 318.8 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.7017, allocations: 27.98 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.7018, allocations: 28 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.455e-05/0.7018, allocations: 40.84 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.7018, allocations: 3.984 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001177/0.7019, allocations: 93.53 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.702, allocations: 10.34 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.702, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.702, allocations: 3.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.315e-05/0.702, allocations: 11.94 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.7021, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.7021, allocations: 3.906 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.7021, allocations: 12 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.752e-05/0.7022, allocations: 114.3 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.7022, allocations: 7.922 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.686e-05/0.7022, allocations: 7.469 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7022, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.7022, allocations: 3.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.7022, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.7023, allocations: 161.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7023, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.7024, allocations: 15.92 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7024, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.7024, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7024, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7024, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.7025, allocations: 73.83 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.7025, allocations: 88.95 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.7025, allocations: 8.016 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.589e-05/0.7026, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.7026, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.7026, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.7027, allocations: 99.27 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7027, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001938/0.7029, allocations: 20 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003893/0.7032, allocations: 0.6288 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.7034, allocations: 81.67 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7034, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.7034, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.7036, allocations: 4.156 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.7046, allocations: 1.324 MB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.7049, allocations: 0.6809 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.7049, allocations: 7.984 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.7049, allocations: 15.44 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7049, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5341/1.239, allocations: 1.554 MB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/1.239, allocations: 297.4 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.439, allocations: 0 / 1.026 GB, free: 9.242 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches