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.001307/0.001307, allocations: 108 kB / 15.6 MB, free: 124 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.001379/0.001379, allocations: 195.5 kB / 16.54 MB, free: 6.668 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.758/2.758, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.47 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2712, 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.001632/0.2729, allocations: 0.5504 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007878/0.2737, allocations: 0.7843 MB / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.2737, allocations: 0 / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.044e-05/0.2738, allocations: 0 / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-06/0.2738, allocations: 4 kB / 1.07 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.274, allocations: 23.92 kB / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.523e-05/0.2741, allocations: 0 / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.2741, allocations: 4 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.2741, allocations: 0 / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.2743, allocations: 19.97 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.194e-06/0.2743, allocations: 0 / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.596e-06/0.2743, allocations: 4 kB / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.915e-06/0.2743, allocations: 0 / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.2743, allocations: 0 / 1.07 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 3.102e-05/0.2743, allocations: 3.984 kB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2743, allocations: 3.938 kB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2744, allocations: 0 / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2744, allocations: 0 / 1.07 GB, free: 8.969 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.0002274/0.2746, allocations: 311.6 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2746, allocations: 8.031 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.2747, allocations: 4.938 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.044e-05/0.2748, allocations: 166.6 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.2748, allocations: 384 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-06/0.2748, allocations: 384 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.678e-05/0.2749, allocations: 34.19 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.2749, allocations: 192 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.2749, allocations: 7.938 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2749, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.2749, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.2752, allocations: 379.6 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.377e-05/0.2753, allocations: 181 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.2753, allocations: 84.14 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2753, allocations: 75.28 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.2754, allocations: 109.8 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.2754, allocations: 0 / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.664e-05/0.2755, allocations: 29.7 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.2755, allocations: 126.7 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.604e-05/0.2756, allocations: 89.86 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.2756, allocations: 25.7 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.2756, allocations: 80.14 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.2756, allocations: 3.938 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.2757, allocations: 25.83 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.2758, allocations: 314.8 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-06/0.2758, allocations: 0 / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.2758, allocations: 4 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.2758, allocations: 4.859 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2758, allocations: 0 / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.83e-05/0.2759, allocations: 33.64 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2759, allocations: 8.094 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2759, allocations: 8 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.276, allocations: 0 / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.276, allocations: 3.938 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.276, allocations: 3.938 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.276, allocations: 11.89 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-06/0.2761, allocations: 4 kB / 1.072 GB, free: 6.645 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.255e-05/0.2761, allocations: 185.1 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.2762, allocations: 101 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.2762, allocations: 115.9 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.853e-05/0.2763, allocations: 180.2 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.103e-05/0.2763, allocations: 180.2 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.988e-05/0.2764, allocations: 184.2 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.2766, allocations: 401.2 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-05/0.2766, allocations: 105 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.2767, allocations: 112.9 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-05/0.2767, allocations: 176.3 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.2768, allocations: 188.2 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.692e-05/0.2768, allocations: 176.3 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-05/0.2769, allocations: 180.2 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.277, allocations: 312 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.277, allocations: 182 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.2771, allocations: 184.3 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.2772, allocations: 108.9 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.2772, allocations: 180.3 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.2773, allocations: 101 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.2773, allocations: 79.28 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2773, allocations: 0 / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002139/0.2775, allocations: 4 kB / 1.075 GB, free: 3.059 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.0001208/0.2777, allocations: 179 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.904e-05/0.2777, allocations: 8.094 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2777, allocations: 0 / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.2777, allocations: 0 / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.278, allocations: 459.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.0001542/0.2782, allocations: 156.2 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.2784, allocations: 0.6768 MB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.668e-06/0.2784, allocations: 0 / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.2784, allocations: 11.44 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of SimCode: time 1.492e-06/0.2784, allocations: 0 / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of Templates: time 0.001798/0.2802, allocations: 185.2 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