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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004694/0.004694, allocations: 99.56 kB / 15.73 MB, free: 6.48 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.001218/0.001218, allocations: 193.9 kB / 16.68 MB, free: 6.363 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.671/2.671, allocations: 482.6 MB / 0.7551 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 71.83 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2785, allocations: 162.3 MB / 1.242 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002138/0.2807, allocations: 1.305 MB / 1.243 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007113/0.2814, allocations: 442.9 kB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.2814, allocations: 0 / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.887e-05/0.2815, allocations: 7.922 kB / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.76e-05/0.2816, allocations: 7.984 kB / 1.244 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.2818, allocations: 31.91 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.2819, allocations: 27.91 kB / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.2819, allocations: 0 / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.282, allocations: 15.92 kB / 1.244 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.282, allocations: 4 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.282, allocations: 0 / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.2822, allocations: 51.88 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.2822, allocations: 15.92 kB / 1.244 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.2822, allocations: 15.94 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.2824, allocations: 55.75 kB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2824, allocations: 4 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2824, allocations: 0 / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.2824, allocations: 0 / 1.244 GB, free: 7.742 MB / 0.9981 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.0003615/0.2828, allocations: 359.2 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2828, allocations: 8.031 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.2828, allocations: 30.75 kB / 1.244 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.2829, allocations: 4.938 kB / 1.244 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.283, allocations: 176.3 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.283, allocations: 384 / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.283, allocations: 4.375 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.67e-05/0.2831, allocations: 47.53 kB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.2831, allocations: 0 / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-06/0.2831, allocations: 0 / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2832, allocations: 4 kB / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.2832, allocations: 7.938 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.2834, allocations: 178.5 kB / 1.245 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.262e-05/0.2834, allocations: 37.16 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.2835, allocations: 21.77 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.2835, allocations: 7.938 kB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2835, allocations: 38.5 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2835, allocations: 0 / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001214/0.2836, allocations: 53.58 kB / 1.245 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.2837, allocations: 77.11 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.2838, allocations: 133.8 kB / 1.245 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2838, allocations: 25.7 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.2839, allocations: 100.3 kB / 1.245 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.2839, allocations: 11.89 kB / 1.245 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.2839, allocations: 25.7 kB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2841, allocations: 314.8 kB / 1.245 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.2841, allocations: 27.98 kB / 1.245 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.2842, allocations: 23.98 kB / 1.245 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.2842, allocations: 40.84 kB / 1.246 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2842, allocations: 0 / 1.246 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001285/0.2844, allocations: 108.3 kB / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.2844, allocations: 12 kB / 1.246 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.2844, allocations: 3.984 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2844, allocations: 0 / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.086e-05/0.2845, allocations: 4 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2845, allocations: 4 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.2845, allocations: 11.89 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.2845, allocations: 0 / 1.246 GB, free: 5.621 MB / 0.9981 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.639e-05/0.2846, allocations: 113.8 kB / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.2846, allocations: 3.938 kB / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.2846, allocations: 15.53 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2846, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2846, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2847, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.2848, allocations: 157.7 kB / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2848, allocations: 0 / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.2848, allocations: 7.938 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2848, allocations: 0 / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2848, allocations: 0 / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2848, allocations: 11.88 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2848, allocations: 4.078 kB / 1.246 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.653e-05/0.2849, allocations: 77.94 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.285, allocations: 88.98 kB / 1.246 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.285, allocations: 0 / 1.246 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.285, allocations: 4 kB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-06/0.285, allocations: 0 / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.285, allocations: 4.031 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.2851, allocations: 103.3 kB / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2851, allocations: 0 / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001894/0.2853, allocations: 19.92 kB / 1.246 GB, free: 4.922 MB / 0.9981 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.0004084/0.2857, allocations: 0.6332 MB / 1.247 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.2858, allocations: 81.67 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2859, allocations: 0 / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.2859, allocations: 11.88 kB / 1.247 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.286, allocations: 11.98 kB / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.2871, allocations: 1.31 MB / 1.248 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.2874, allocations: 0.6924 MB / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.2874, allocations: 0 / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.2874, allocations: 11.44 kB / 1.249 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.2874, allocations: 0 / 1.249 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.428/3.716, allocations: 1.725 MB / 1.251 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/18.18, allocations: 16.58 kB / 1.251 GB, free: 0.4922 MB / 0.9981 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=400 --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