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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 472.7 MB / 0.7452 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 69.8 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2757, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002315/0.278, allocations: 1.295 MB / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000714/0.2788, allocations: 449.1 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.2788, allocations: 4 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.586e-05/0.2789, allocations: 7.922 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.279, allocations: 7.984 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.2792, allocations: 27.91 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.2793, allocations: 23.91 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.2793, allocations: 4 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.2793, allocations: 11.92 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.2794, allocations: 12 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.2794, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2796, allocations: 43.88 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.2796, allocations: 19.92 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.2796, allocations: 19.88 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2798, allocations: 56.09 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2798, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2798, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2798, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8262 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.0003372/0.2801, allocations: 347.4 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2802, allocations: 12.03 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.2802, allocations: 8.828 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2804, allocations: 172.3 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.2804, allocations: 8.375 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.2804, allocations: 4.312 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.524e-05/0.2805, allocations: 51.72 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.2805, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2805, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2805, allocations: 3.938 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.2805, allocations: 7.984 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.2807, allocations: 178.4 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/0.2808, allocations: 41.14 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.2808, allocations: 17.84 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.2808, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2808, allocations: 42.44 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2808, allocations: 3.938 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001191/0.281, allocations: 45.69 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.281, allocations: 85.05 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2811, allocations: 141.7 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.2811, allocations: 25.7 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.2812, allocations: 88.12 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2812, allocations: 8.156 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.2813, allocations: 33.7 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.2814, allocations: 318.8 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.2814, allocations: 20 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.2814, allocations: 27.48 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.835e-05/0.2815, allocations: 44.84 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2815, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001212/0.2816, allocations: 97.52 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2817, allocations: 7.938 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.2817, allocations: 4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.2817, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.2817, allocations: 4 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2817, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.2818, allocations: 11.84 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.2818, allocations: 3.984 kB / 1.072 GB, free: 6.285 MB / 0.8262 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.303e-05/0.2819, allocations: 111.6 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.2819, allocations: 11.84 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.2819, allocations: 7.531 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2819, allocations: 4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2819, allocations: 3.984 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2819, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.492e-05/0.282, allocations: 157.7 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.282, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.2821, allocations: 11.94 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2821, allocations: 3.938 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.2821, allocations: 4 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2821, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2821, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.495e-05/0.2822, allocations: 77.92 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.2822, allocations: 84.95 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2822, allocations: 4 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.64e-05/0.2823, allocations: 0 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.2823, allocations: 7.984 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.2823, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.2823, allocations: 99.3 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2823, allocations: 4 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002062/0.2826, allocations: 23.94 kB / 1.073 GB, free: 5.578 MB / 0.8262 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.000152/0.2827, allocations: 111.8 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.2829, allocations: 89.61 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2829, allocations: 0 / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.2829, allocations: 4 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.283, allocations: 6.562 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.2833, allocations: 162.1 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.2835, allocations: 0.6846 MB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.748e-05/0.2836, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.2836, allocations: 11.44 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.2836, allocations: 4 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of Templates: time 0.002529/0.2861, allocations: 0.5539 MB / 1.074 GB, free: 3.941 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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