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.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.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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001174/0.001174, allocations: 194 kB / 16.14 MB, free: 6.691 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 72.61 kB / 0.8986 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3051, allocations: 157.4 MB / 1.052 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002702/0.3079, allocations: 1.361 MB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.3087, allocations: 462.8 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.3088, allocations: 0 / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.443e-05/0.3089, allocations: 0 / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.309, allocations: 7.922 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.3092, allocations: 27.97 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.975e-05/0.3093, allocations: 39.91 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.3094, allocations: 7.969 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.159e-05/0.3094, allocations: 11.88 kB / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.3095, allocations: 8 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.3095, allocations: 3.938 kB / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3096, allocations: 51.94 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.3097, allocations: 15.92 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.3098, allocations: 11.94 kB / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.3099, allocations: 64.02 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3099, allocations: 4 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3099, allocations: 0 / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3099, allocations: 0 / 1.054 GB, free: 6.098 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.0003977/0.3103, allocations: 351.4 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3104, allocations: 8.031 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.3104, allocations: 30.75 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.3105, allocations: 8.844 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3106, allocations: 172.3 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-06/0.3106, allocations: 384 / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3106, allocations: 4.375 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.3108, allocations: 51.53 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3108, allocations: 0 / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.3108, allocations: 4 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3108, allocations: 0 / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.3108, allocations: 7.938 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.311, allocations: 166.6 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.3111, allocations: 53.08 kB / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.3111, allocations: 21.78 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/0.3112, allocations: 0 / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3112, allocations: 34.5 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3112, allocations: 4 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.3113, allocations: 53.53 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3114, allocations: 77.11 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3115, allocations: 148.8 kB / 1.055 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3115, allocations: 25.7 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.3116, allocations: 84.14 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.3116, allocations: 7.906 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.3117, allocations: 25.95 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3118, allocations: 322.8 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.3118, allocations: 24 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.3119, allocations: 23.98 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.227e-05/0.3119, allocations: 44.78 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3119, allocations: 0 / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001296/0.3121, allocations: 108.5 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3121, allocations: 4 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.3121, allocations: 0 / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3121, allocations: 0 / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.3122, allocations: 11.94 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3122, allocations: 0 / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.3122, allocations: 15.84 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.3123, allocations: 4.078 kB / 1.056 GB, free: 3.984 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.641e-05/0.3123, allocations: 109.8 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.3124, allocations: 7.922 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.3124, allocations: 11.53 kB / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3124, allocations: 0 / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3124, allocations: 0 / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3124, allocations: 7.984 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3125, allocations: 165.6 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3125, allocations: 0 / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.3126, allocations: 7.938 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3126, allocations: 0 / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3126, allocations: 4 kB / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3126, allocations: 3.938 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3126, allocations: 0 / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.936e-05/0.3127, allocations: 77.89 kB / 1.056 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.3127, allocations: 84.95 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.3128, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.3128, allocations: 4 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.3128, allocations: 7.922 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.3128, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.3129, allocations: 103.3 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3129, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002172/0.3131, allocations: 24.03 kB / 1.057 GB, free: 3.277 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.0004103/0.3135, allocations: 0.621 MB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.3137, allocations: 85.61 kB / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3137, allocations: 4.031 kB / 1.057 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.3137, allocations: 8 kB / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.3139, allocations: 4 kB / 1.057 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.315, allocations: 1.302 MB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.3153, allocations: 0.6927 MB / 1.059 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.3153, allocations: 3.938 kB / 1.059 GB, free: 420 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.3154, allocations: 15.42 kB / 1.059 GB, free: 404 kB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3154, allocations: 0 / 1.059 GB, free: 404 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.3343, allocations: 1.559 MB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/0.3346, allocations: 288.3 kB / 1.061 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.086, allocations: 2.062 kB / 1.061 GB, free: 14.65 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