Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, 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.001316/0.001316, allocations: 191.9 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.658/2.658, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 70.17 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2655, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001615/0.2671, allocations: 0.6151 MB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007807/0.2679, allocations: 0.7866 MB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-06/0.2679, allocations: 4 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.2679, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-06/0.268, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.2682, allocations: 19.92 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.144e-05/0.2682, allocations: 3.984 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.2682, allocations: 4 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.123e-05/0.2683, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.2684, allocations: 23.98 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.2684, allocations: 3.938 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-06/0.2684, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.166e-06/0.2684, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.2685, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 3.269e-05/0.2685, allocations: 3.984 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2685, allocations: 0 / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.62e-07/0.2685, allocations: 0 / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.2685, allocations: 0 / 1.069 GB, free: 9.406 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002529/0.2688, allocations: 311.5 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.2688, allocations: 16.09 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.938e-05/0.2688, allocations: 0.9375 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.072e-05/0.2689, allocations: 160.4 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2689, allocations: 384 / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-06/0.2689, allocations: 4.312 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.092e-05/0.269, allocations: 26.27 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.269, allocations: 192 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.269, allocations: 7.938 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2691, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.584e-05/0.2691, allocations: 8 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.2693, allocations: 375.5 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.463e-05/0.2694, allocations: 177 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.2694, allocations: 80.14 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2695, allocations: 75.28 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2695, allocations: 109.8 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2695, allocations: 0 / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.748e-05/0.2696, allocations: 33.64 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.2696, allocations: 130.6 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.2697, allocations: 97.84 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.2697, allocations: 29.64 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.2698, allocations: 84.27 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2698, allocations: 0 / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.2698, allocations: 13.72 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.2699, allocations: 310.8 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-06/0.2699, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.2699, allocations: 4 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.2699, allocations: 8.859 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2699, allocations: 64 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.678e-05/0.27, allocations: 45.62 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.27, allocations: 9.406 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.27, allocations: 3.938 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.2701, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.949e-05/0.2701, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2701, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.2701, allocations: 7.906 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.2701, allocations: 0 / 1.071 GB, free: 7.09 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 7.6e-05/0.2702, allocations: 189.1 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.2703, allocations: 101 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.2703, allocations: 119.8 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-05/0.2704, allocations: 180.3 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.524e-05/0.2704, allocations: 176.3 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.975e-05/0.2705, allocations: 180.2 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2707, allocations: 409.2 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.3e-05/0.2707, allocations: 104.9 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.2708, allocations: 105 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.871e-05/0.2708, allocations: 176.3 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.2709, allocations: 188.2 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-05/0.2709, allocations: 184.2 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-05/0.271, allocations: 180.4 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.2711, allocations: 307.8 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.2712, allocations: 186 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.2712, allocations: 180.3 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.2713, allocations: 108.9 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2714, allocations: 176.3 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.2714, allocations: 105 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.2714, allocations: 87.16 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2715, allocations: 0 / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002037/0.2717, allocations: 0 / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001151/0.2718, allocations: 190.5 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.816e-05/0.2718, allocations: 4 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2718, allocations: 0 / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.2718, allocations: 0 / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.2722, allocations: 0.5224 MB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001539/0.2723, allocations: 154.1 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.2725, allocations: 0.677 MB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.005e-05/0.2726, allocations: 0 / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.2726, allocations: 7.438 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2726, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of Templates: time 0.00163/0.2742, allocations: 179.5 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches