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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005478/0.005478, allocations: 99.78 kB / 15.73 MB, free: 6.043 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.001362/0.001362, allocations: 185.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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.601/2.601, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 60.09 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.302, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002426/0.3045, allocations: 1.248 MB / 1.209 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3061, allocations: 0.8924 MB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.3061, allocations: 0 / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.487e-05/0.3062, allocations: 0 / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.3063, allocations: 31.95 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009001/0.3072, allocations: 243.5 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.401e-05/0.3073, allocations: 31.91 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.3074, allocations: 0 / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.3074, allocations: 19.97 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3076, allocations: 55.88 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3076, allocations: 0 / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.3081, allocations: 275.6 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.3082, allocations: 19.98 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.3082, allocations: 19.81 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.3086, allocations: 247.7 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3086, allocations: 3.984 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3086, allocations: 0 / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.3086, allocations: 0 / 1.21 GB, free: 6.98 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.0004467/0.3091, allocations: 383.2 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3092, allocations: 12.62 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.3092, allocations: 34.75 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.3092, allocations: 4.938 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3094, allocations: 172.3 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3094, allocations: 4.375 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.3094, allocations: 384 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3095, allocations: 61.73 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3096, allocations: 4 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.3096, allocations: 0 / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.3096, allocations: 8 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.868e-05/0.3097, allocations: 27.98 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.3099, allocations: 185.5 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.74e-05/0.31, allocations: 50.58 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.31, allocations: 40.88 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.31, allocations: 3.938 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3101, allocations: 38.62 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3101, allocations: 3.938 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0002132/0.3103, allocations: 129.6 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3103, allocations: 55.34 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3104, allocations: 133.8 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3105, allocations: 29.7 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.3105, allocations: 92.09 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.3106, allocations: 27.55 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.3106, allocations: 17.72 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3107, allocations: 322.8 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.3107, allocations: 23.98 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/0.3108, allocations: 28 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.659e-05/0.3109, allocations: 76.84 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3109, allocations: 0 / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001124/0.311, allocations: 101.5 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.311, allocations: 9.766 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.311, allocations: 0 / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.311, allocations: 4 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.311, allocations: 0 / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3111, allocations: 3.938 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.3111, allocations: 3.984 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.3111, allocations: 7.984 kB / 1.212 GB, free: 4.691 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 8.214e-05/0.3112, allocations: 121.9 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.3112, allocations: 11.84 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.3112, allocations: 8.359 kB / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.3113, allocations: 15.98 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3113, allocations: 0 / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3113, allocations: 0 / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.3114, allocations: 181.5 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3114, allocations: 0 / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-06/0.3114, allocations: 7.875 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3115, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3115, allocations: 12 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3115, allocations: 0 / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3115, allocations: 3.938 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.3116, allocations: 113.1 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3117, allocations: 88.95 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3117, allocations: 3.984 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.3117, allocations: 0 / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.3117, allocations: 7.938 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3117, allocations: 4.031 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.041e-05/0.3118, allocations: 99.27 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3118, allocations: 0 / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003191/0.3121, allocations: 75.98 kB / 1.213 GB, free: 3.852 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.0006314/0.3128, allocations: 0.7256 MB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.3129, allocations: 75.84 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3129, allocations: 0 / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.3129, allocations: 35.98 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.3131, allocations: 4 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.3137, allocations: 261.3 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.3139, allocations: 0.7001 MB / 1.215 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.314, allocations: 8.125 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.314, allocations: 15.44 kB / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of SimCode: time 4.1e-07/0.314, allocations: 0 / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.3343, allocations: 2.843 MB / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.8, allocations: 6.125 kB / 1.218 GB, free: 15.3 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > 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