Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001225/0.001225, allocations: 193 kB / 16.13 MB, free: 6.652 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.08 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.268, allocations: 157.4 MB / 1.052 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002216/0.2702, allocations: 1.316 MB / 1.053 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.2716, allocations: 0.9349 MB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.2717, allocations: 0 / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.2717, allocations: 0 / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.2718, allocations: 31.95 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.2724, allocations: 191.6 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.2725, allocations: 35.97 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.2725, allocations: 3.938 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.2726, allocations: 15.97 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2727, allocations: 59.88 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.2727, allocations: 0 / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.2732, allocations: 275.6 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.2732, allocations: 19.86 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.2733, allocations: 23.81 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.2736, allocations: 243.7 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2736, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2736, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2736, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003594/0.274, allocations: 379.3 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.274, allocations: 12.03 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.274, allocations: 8.844 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2741, allocations: 180.2 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.2742, allocations: 4.359 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.2742, allocations: 384 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.2743, allocations: 61.98 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.2743, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.2743, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.2743, allocations: 16 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.2744, allocations: 27.98 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.2746, allocations: 177.6 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.052e-05/0.2746, allocations: 54.59 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.2747, allocations: 32.89 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.2747, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.2747, allocations: 38.48 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.2747, allocations: 8 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0001844/0.2749, allocations: 125.6 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.275, allocations: 55.41 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.2751, allocations: 130 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.2751, allocations: 25.7 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.2751, allocations: 92.14 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.2752, allocations: 31.48 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.2752, allocations: 17.72 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.2753, allocations: 326.9 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.2753, allocations: 23.98 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.2754, allocations: 27.98 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.479e-05/0.2755, allocations: 72.77 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2755, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001025/0.2756, allocations: 101.6 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2756, allocations: 14.22 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2756, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.2756, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.2756, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2756, allocations: 8.062 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.2757, allocations: 7.906 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2757, allocations: 0 / 1.057 GB, free: 3.387 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.94e-05/0.2758, allocations: 121.8 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.2758, allocations: 7.844 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.2758, allocations: 8.375 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.2758, allocations: 11.98 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2758, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.2758, allocations: 4 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.276, allocations: 177.7 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.276, allocations: 0 / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.276, allocations: 0 / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.276, allocations: 4.031 kB / 1.057 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.276, allocations: 7.922 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.276, allocations: 0 / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.276, allocations: 0 / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.2761, allocations: 125 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.2762, allocations: 96.91 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.2762, allocations: 4 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.278e-05/0.2762, allocations: 0 / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.2762, allocations: 3.938 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2762, allocations: 4 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.873e-05/0.2763, allocations: 103.6 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2763, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002953/0.2766, allocations: 75.98 kB / 1.058 GB, free: 2.551 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003259/0.2769, allocations: 167.2 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.2771, allocations: 71.91 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2771, allocations: 0 / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.339e-05/0.2771, allocations: 35.98 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.2773, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.2776, allocations: 212 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.2778, allocations: 0.7004 MB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.761e-05/0.2779, allocations: 4 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.2779, allocations: 15.38 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2779, allocations: 0 / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of Templates: time 0.003591/0.2815, allocations: 1.468 MB / 1.06 GB, free: 15.87 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches