Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.AggregationCellTimes,fileNamePrefix="Buildings_latest_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_latest_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.001517/0.001516, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001985/0.001985, allocations: 189.7 kB / 16.25 MB, free: 6.633 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.84/2.84, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.8 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.319, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002725/0.3217, allocations: 1.357 MB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007973/0.3226, allocations: 462.8 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.3226, allocations: 4 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.988e-05/0.3227, allocations: 0 / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.3228, allocations: 7.922 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.323, allocations: 23.97 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.12e-05/0.3231, allocations: 27.91 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.3232, allocations: 3.984 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.3232, allocations: 15.94 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.303e-05/0.3233, allocations: 15.92 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.3233, allocations: 4 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.3234, allocations: 39.94 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.3235, allocations: 19.92 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.3235, allocations: 7.938 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.3237, allocations: 64.03 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3237, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3237, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3237, allocations: 0 / 1.054 GB, free: 6.578 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004078/0.3241, allocations: 351.4 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3242, allocations: 8.625 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.3242, allocations: 34.69 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.3242, allocations: 8.844 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3244, allocations: 176.3 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.3244, allocations: 384 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.3244, allocations: 384 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.97e-05/0.3245, allocations: 47.53 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3246, allocations: 4 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3246, allocations: 4 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3246, allocations: 0 / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.3246, allocations: 7.938 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.3248, allocations: 166.6 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.3248, allocations: 45.14 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.3249, allocations: 25.72 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.3249, allocations: 0 / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.325, allocations: 34.5 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.325, allocations: 0 / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001871/0.3252, allocations: 57.47 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.3252, allocations: 81.36 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3254, allocations: 149.3 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3254, allocations: 25.7 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.3254, allocations: 92.12 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.3254, allocations: 3.906 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.3255, allocations: 25.7 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.3256, allocations: 322.8 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.3256, allocations: 20 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.3257, allocations: 27.98 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.074e-05/0.3258, allocations: 48.78 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3258, allocations: 4 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001296/0.3259, allocations: 101.5 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3259, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.3259, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.326, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.326, allocations: 4 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.326, allocations: 0 / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.3261, allocations: 11.84 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3261, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 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 7.441e-05/0.3261, allocations: 115.4 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.3262, allocations: 3.938 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.3262, allocations: 11.53 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3262, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3262, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3262, allocations: 3.984 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.3263, allocations: 157.7 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3263, allocations: 0 / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.3264, allocations: 15.88 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3264, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3264, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3264, allocations: 7.938 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3264, allocations: 0 / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.703e-05/0.3265, allocations: 73.89 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.3265, allocations: 84.95 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3265, allocations: 8.031 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.771e-05/0.3266, allocations: 4 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.3266, allocations: 3.984 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.3266, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.646e-05/0.3266, allocations: 106.5 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3267, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001995/0.3269, allocations: 16 kB / 1.057 GB, free: 3.77 MB / 0.8106 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.0004059/0.3273, allocations: 0.6366 MB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.3274, allocations: 85.69 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3274, allocations: 0 / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-05/0.3275, allocations: 8 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.3276, allocations: 4.156 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3287, allocations: 1.309 MB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.329, allocations: 0.6846 MB / 1.059 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.835e-05/0.329, allocations: 4 kB / 1.059 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.3291, allocations: 23.42 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3291, allocations: 0 / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.751/2.08, allocations: 1.599 MB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/2.081, allocations: 284.5 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/4.214, allocations: 2.812 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches