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: "" <> 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.001343/0.001344, 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.001589/0.001589, allocations: 193.2 kB / 16.14 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.571/2.571, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.14 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3011, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002352/0.3034, allocations: 1.306 MB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.305, allocations: 0.935 MB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.657e-05/0.305, allocations: 4 kB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.3051, allocations: 0 / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.3052, allocations: 27.95 kB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006709/0.3059, allocations: 194.6 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.3059, allocations: 39.95 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.306, allocations: 0 / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.306, allocations: 15.98 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3062, allocations: 55.88 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.3062, allocations: 0 / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.3066, allocations: 283.5 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.3067, allocations: 11.98 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.3067, allocations: 19.81 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.307, allocations: 251.7 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3071, allocations: 0 / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3071, allocations: 0 / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.3071, allocations: 4 kB / 1.055 GB, free: 5.047 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.0003805/0.3075, allocations: 379.3 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.3075, allocations: 15.97 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.3076, allocations: 30.75 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.3076, allocations: 8.844 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3077, allocations: 180.2 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.3077, allocations: 384 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.3077, allocations: 4.359 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.3078, allocations: 61.75 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.3079, allocations: 4 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.3079, allocations: 0 / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.3079, allocations: 8 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.3079, allocations: 27.98 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.3081, allocations: 185.5 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.716e-05/0.3082, allocations: 54.5 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.3083, allocations: 36.89 kB / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.3083, allocations: 8.172 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.3083, allocations: 38.44 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.3083, allocations: 0 / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0001938/0.3085, allocations: 121.6 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.3085, allocations: 59.34 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.3086, allocations: 133.8 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3087, allocations: 25.7 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.3087, allocations: 88.14 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.3088, allocations: 35.48 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.3088, allocations: 21.7 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3089, allocations: 318.8 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.309, allocations: 23.98 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.309, allocations: 31.98 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.918e-05/0.3091, allocations: 68.83 kB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3091, allocations: 0 / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001147/0.3092, allocations: 101.9 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3092, allocations: 4 kB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3092, allocations: 8 kB / 1.057 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3092, allocations: 4 kB / 1.057 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3092, allocations: 0 / 1.057 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.3093, allocations: 0 / 1.057 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.3093, allocations: 3.906 kB / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3093, allocations: 4 kB / 1.057 GB, free: 2.762 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.3e-05/0.3094, allocations: 117.8 kB / 1.057 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.3094, allocations: 11.84 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.208e-05/0.3094, allocations: 4.375 kB / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/0.3094, allocations: 23.98 kB / 1.057 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3094, allocations: 0 / 1.057 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.3094, allocations: 0 / 1.057 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.3096, allocations: 177.6 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3096, allocations: 3.938 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-06/0.3096, allocations: 3.938 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3096, allocations: 4 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.3096, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3096, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3096, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.3098, allocations: 121 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.3098, allocations: 96.88 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.3098, allocations: 7.922 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.063e-05/0.3098, allocations: 0 / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.3099, allocations: 4 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3099, allocations: 0 / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.487e-05/0.3099, allocations: 99.27 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3099, allocations: 0 / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002824/0.3102, allocations: 76.02 kB / 1.058 GB, free: 1.93 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.0005966/0.3108, allocations: 0.7372 MB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.311, allocations: 59.98 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.311, allocations: 0 / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-05/0.311, allocations: 40.08 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.3112, allocations: 4 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.3117, allocations: 269.5 kB / 1.059 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3119, allocations: 0.7004 MB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.312, allocations: 8.062 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.312, allocations: 19.44 kB / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.312, allocations: 0 / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.3242, allocations: 2.706 MB / 1.062 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.3245, allocations: 291 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.14, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8262 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