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.001554/0.001554, allocations: 108 kB / 15.6 MB, free: 132 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.001898/0.001898, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.693/2.693, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.61 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2857, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001675/0.2874, allocations: 0.5387 MB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008057/0.2883, allocations: 0.7766 MB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.2883, allocations: 0 / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.2883, allocations: 0 / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-06/0.2883, allocations: 0 / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2886, allocations: 27.91 kB / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.946e-05/0.2886, allocations: 0 / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.2887, allocations: 3.984 kB / 1.07 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.386e-05/0.2887, allocations: 4 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.2888, allocations: 20 kB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.2889, allocations: 0 / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-06/0.2889, allocations: 0 / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.2889, allocations: 3.984 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.2889, allocations: 3.938 kB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 3.421e-05/0.2889, allocations: 3.984 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.289, allocations: 3.938 kB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.289, allocations: 0 / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.289, allocations: 4 kB / 1.07 GB, free: 8.973 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.0002297/0.2892, allocations: 307.6 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2893, allocations: 8.031 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.2893, allocations: 0.9375 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.65e-05/0.2894, allocations: 166.6 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.2894, allocations: 8.359 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.2894, allocations: 4.375 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.516e-05/0.2895, allocations: 30.2 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.2895, allocations: 4.188 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2895, allocations: 7.922 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2895, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.453e-05/0.2895, allocations: 4 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.2898, allocations: 371.5 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.2899, allocations: 181 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.2899, allocations: 84.14 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2899, allocations: 75.28 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.29, allocations: 105.8 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.29, allocations: 0 / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.533e-05/0.2901, allocations: 25.7 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.2901, allocations: 130.7 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.2902, allocations: 97.86 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.2902, allocations: 29.64 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.2902, allocations: 80.14 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.2902, allocations: 0 / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.2903, allocations: 17.7 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.2904, allocations: 310.8 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-06/0.2904, allocations: 0 / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-06/0.2904, allocations: 128 / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.149e-05/0.2904, allocations: 16.92 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2904, allocations: 0 / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.996e-05/0.2905, allocations: 33.64 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2905, allocations: 4 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2905, allocations: 4 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2906, allocations: 0 / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.2906, allocations: 7.875 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2906, allocations: 3.984 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.031e-05/0.2906, allocations: 3.906 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2906, allocations: 4.031 kB / 1.072 GB, free: 6.66 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.753e-05/0.2907, allocations: 193 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.2908, allocations: 101 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.2908, allocations: 111.9 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.258e-05/0.2909, allocations: 184.2 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-05/0.2909, allocations: 184.2 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.318e-05/0.291, allocations: 180.2 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.2912, allocations: 401.2 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/0.2912, allocations: 112.9 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.2913, allocations: 105 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.785e-05/0.2913, allocations: 176.3 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.2914, allocations: 184.2 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.276e-05/0.2915, allocations: 180.3 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.204e-05/0.2915, allocations: 180.2 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.2916, allocations: 308 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.2917, allocations: 190 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.88e-05/0.2918, allocations: 180.3 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.2919, allocations: 116.9 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.2919, allocations: 176.3 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.292, allocations: 101 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.292, allocations: 75.28 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.292, allocations: 4.094 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002065/0.2922, allocations: 4 kB / 1.075 GB, free: 3.062 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.0001416/0.2924, allocations: 179.9 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.855e-05/0.2924, allocations: 7.984 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2924, allocations: 0 / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.2924, allocations: 0 / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.2928, allocations: 465.6 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001665/0.2929, allocations: 152.2 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2932, allocations: 0.669 MB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.056e-05/0.2932, allocations: 0 / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.2932, allocations: 7.438 kB / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of SimCode: time 2.545e-06/0.2932, allocations: 0 / 1.076 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of Templates: time 0.001839/0.295, allocations: 198.9 kB / 1.077 GB, free: 1.383 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