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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001612/0.001611, allocations: 103.7 kB / 16.35 MB, free: 5.824 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.001831/0.001831, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.459/2.459, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.45 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3188, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001951/0.3208, allocations: 0.5462 MB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.3218, allocations: 0.7907 MB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.3218, allocations: 0 / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.3219, allocations: 0 / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.3219, allocations: 0 / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.3222, allocations: 19.92 kB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.403e-05/0.3222, allocations: 0 / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.3223, allocations: 0 / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.3223, allocations: 7.984 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.3225, allocations: 15.98 kB / 1.028 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3225, allocations: 3.938 kB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.558e-06/0.3225, allocations: 7.938 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.3225, allocations: 4 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.3225, allocations: 0 / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 3.671e-05/0.3226, allocations: 3.938 kB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3226, allocations: 0 / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3226, allocations: 0 / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.3226, allocations: 0 / 1.028 GB, free: 0.6016 MB / 0.795 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.0002453/0.3228, allocations: 311.6 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3229, allocations: 8.031 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.3229, allocations: 0.9375 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.323, allocations: 164.4 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.323, allocations: 4.375 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-06/0.323, allocations: 384 / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.513e-05/0.3231, allocations: 26.27 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3231, allocations: 192 / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.3232, allocations: 3.938 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3232, allocations: 4.047 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.882e-05/0.3232, allocations: 7.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.3235, allocations: 379.5 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.3e-05/0.3236, allocations: 177.1 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.3236, allocations: 80.14 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.3237, allocations: 79.28 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.3237, allocations: 109.8 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3237, allocations: 0 / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.478e-05/0.3238, allocations: 29.64 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.3238, allocations: 126.7 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.3239, allocations: 97.84 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3239, allocations: 33.83 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.324, allocations: 80.14 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.324, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.324, allocations: 13.72 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3242, allocations: 310.8 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.3242, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.3242, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.3242, allocations: 16.86 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3242, allocations: 0 / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001003/0.3243, allocations: 37.64 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3244, allocations: 10.64 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3244, allocations: 3.938 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3244, allocations: 4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.3244, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3245, allocations: 7.922 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.3245, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3245, allocations: 3.938 kB / 1.03 GB, free: 14.29 MB / 0.8106 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 0.0001045/0.3246, allocations: 197 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.3247, allocations: 104.9 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.3247, allocations: 108.1 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.638e-05/0.3248, allocations: 180.3 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.439e-05/0.3249, allocations: 184.2 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-05/0.325, allocations: 180.3 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.3252, allocations: 409.1 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.447e-05/0.3253, allocations: 105 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.3253, allocations: 101 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.249e-05/0.3254, allocations: 184.2 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/0.3255, allocations: 176.3 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.696e-05/0.3255, allocations: 188.2 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.923e-05/0.3256, allocations: 180.2 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3258, allocations: 308 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.3259, allocations: 178.1 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.3259, allocations: 192.2 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.326, allocations: 105 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.3261, allocations: 180.2 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.3262, allocations: 105 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.3262, allocations: 75.28 kB / 1.033 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3262, allocations: 0 / 1.033 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002245/0.3264, allocations: 4 kB / 1.033 GB, free: 10.69 MB / 0.8106 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.0001559/0.3266, allocations: 183.2 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.419e-05/0.3267, allocations: 4 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3267, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.3267, allocations: 3.938 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.327, allocations: 459.7 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.3273, allocations: 160.3 kB / 1.034 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3276, allocations: 0.669 MB / 1.035 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.564e-05/0.3276, allocations: 3.984 kB / 1.035 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.3276, allocations: 11.38 kB / 1.035 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.3276, allocations: 0 / 1.035 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of Templates: time 0.001974/0.3296, allocations: 197.7 kB / 1.035 GB, free: 9 MB / 0.8106 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 -s cvode -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/jenkins1/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