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.004829/0.004829, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001136/0.001136, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2881, allocations: 157.4 MB / 1.208 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00358/0.2917, allocations: 1.24 MB / 1.209 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.2943, allocations: 0.8963 MB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.2943, allocations: 0 / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.2944, allocations: 4 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.2946, allocations: 35.94 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.2959, allocations: 245.1 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2961, allocations: 27.91 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.2961, allocations: 0 / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.2962, allocations: 23.97 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.2965, allocations: 51.94 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2965, allocations: 0 / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007761/0.2973, allocations: 275.6 kB / 1.211 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.2974, allocations: 23.92 kB / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.2974, allocations: 15.81 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.298, allocations: 247.5 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.298, allocations: 4 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.134e-06/0.298, allocations: 0 / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.2981, allocations: 3.938 kB / 1.211 GB, free: 6.492 MB / 0.9669 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.0006006/0.2987, allocations: 375.3 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.2987, allocations: 16.56 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.2988, allocations: 4.844 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.299, allocations: 172.2 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.299, allocations: 384 / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.299, allocations: 8.359 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.2992, allocations: 62 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2993, allocations: 0 / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2993, allocations: 0 / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.2993, allocations: 15.98 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.2994, allocations: 31.92 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.2998, allocations: 177.5 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.2999, allocations: 50.56 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/0.3, allocations: 36.88 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.3, allocations: 4 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.3001, allocations: 42.5 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.3001, allocations: 0 / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003369/0.3004, allocations: 133.7 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3005, allocations: 51.41 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.3007, allocations: 129.8 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.3007, allocations: 25.7 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.3008, allocations: 100.1 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.3009, allocations: 31.55 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.3009, allocations: 13.72 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3011, allocations: 322.8 kB / 1.213 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.3012, allocations: 27.94 kB / 1.213 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/0.3013, allocations: 28.27 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.3014, allocations: 72.86 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3014, allocations: 4 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002106/0.3016, allocations: 105.5 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.3017, allocations: 12 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3017, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3017, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.3018, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3018, allocations: 3.984 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.3018, allocations: 4 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3018, allocations: 0 / 1.213 GB, free: 4.25 MB / 0.9669 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 0.0001302/0.302, allocations: 121.8 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.302, allocations: 7.844 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.3021, allocations: 12.38 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/0.3021, allocations: 11.98 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3021, allocations: 4 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3021, allocations: 0 / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.3024, allocations: 169.6 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3024, allocations: 0 / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.3024, allocations: 0 / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.3025, allocations: 7.922 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3025, allocations: 0 / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3025, allocations: 0 / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3025, allocations: 4 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.3027, allocations: 129 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.3028, allocations: 92.89 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.3029, allocations: 0 / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.465e-05/0.3029, allocations: 3.984 kB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.3029, allocations: 0 / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.3029, allocations: 7.984 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001058/0.3031, allocations: 103.2 kB / 1.213 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3031, allocations: 4.031 kB / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005232/0.3036, allocations: 64 kB / 1.213 GB, free: 3.422 MB / 0.9669 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.0004892/0.3041, allocations: 175.2 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.3043, allocations: 67.92 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3043, allocations: 0 / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/0.3044, allocations: 35.98 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.3047, allocations: 0 / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.3052, allocations: 204.4 kB / 1.214 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3056, allocations: 0.6962 MB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.3056, allocations: 7.984 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.3057, allocations: 15.44 kB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.3057, allocations: 0 / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of Templates: time 0.006833/0.3126, allocations: 1.471 MB / 1.216 GB, free: 0.7461 MB / 0.9669 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