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.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.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.001387/0.001387, allocations: 115.2 kB / 16.37 MB, free: 5.984 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.001582/0.001582, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.438/2.438, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.002021, allocations: 69.12 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2968, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002199/0.299, allocations: 1.266 MB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3003, allocations: 0.885 MB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.3003, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.3004, allocations: 7.938 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.3005, allocations: 27.95 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.3013, allocations: 255.4 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.3013, allocations: 19.98 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.3014, allocations: 11.94 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.759e-05/0.3014, allocations: 23.89 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.3016, allocations: 47.95 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3016, allocations: 3.984 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.302, allocations: 271.6 kB / 1.03 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.3021, allocations: 23.92 kB / 1.03 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.3021, allocations: 11.88 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.3024, allocations: 243.5 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3025, allocations: 0 / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3025, allocations: 0 / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.3025, allocations: 0 / 1.03 GB, free: 14.96 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.0003558/0.3028, allocations: 383.3 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.3029, allocations: 12.03 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.3029, allocations: 4.844 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.303, allocations: 180.2 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.303, allocations: 4.375 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3031, allocations: 4.312 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.998e-05/0.3032, allocations: 58 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.3032, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.3032, allocations: 3.938 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.3032, allocations: 15.98 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.3033, allocations: 31.98 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.3035, allocations: 177.5 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.3035, allocations: 50.56 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.3036, allocations: 36.88 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.3036, allocations: 4 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.3036, allocations: 34.5 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3036, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0001906/0.3038, allocations: 133.7 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.3039, allocations: 51.41 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.304, allocations: 129.8 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.304, allocations: 25.7 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.304, allocations: 88.14 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.3041, allocations: 35.45 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.3041, allocations: 21.7 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3042, allocations: 318.8 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.3043, allocations: 32.02 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.454e-05/0.3043, allocations: 24 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.3044, allocations: 76.77 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3044, allocations: 384 / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001093/0.3045, allocations: 101.5 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3045, allocations: 7.938 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.3045, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3045, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-06/0.3045, allocations: 7.984 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3045, allocations: 64 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.3046, allocations: 7.906 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3046, allocations: 0 / 1.032 GB, free: 12.72 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.816e-05/0.3047, allocations: 125.8 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.3047, allocations: 11.78 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.228e-05/0.3047, allocations: 8.375 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.3047, allocations: 15.98 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3047, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3047, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.3049, allocations: 169.7 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3049, allocations: 4 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-06/0.3049, allocations: 3.984 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3049, allocations: 3.938 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3049, allocations: 4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3049, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3049, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.305, allocations: 125 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.3051, allocations: 92.89 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.3051, allocations: 4.031 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.3051, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.3052, allocations: 3.984 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3052, allocations: 4 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.3052, allocations: 99.27 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3052, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002867/0.3055, allocations: 75.98 kB / 1.032 GB, free: 11.89 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.0002994/0.3058, allocations: 159.2 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.3059, allocations: 71.92 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.306, allocations: 3.938 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.306, allocations: 35.98 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.3061, allocations: 8.688 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.3064, allocations: 194.2 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.3067, allocations: 0.7002 MB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.3067, allocations: 8.062 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.3068, allocations: 15.42 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3068, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.003683/0.3105, allocations: 1.469 MB / 1.035 GB, free: 9.227 MB / 0.8106 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 -s gbode -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/jenkins1/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