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.0008234/0.0008233, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005118/0.005119, allocations: 172 kB / 16.26 MB, free: 6.613 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.539/2.539, allocations: 443.3 MB / 0.7176 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 11.81 kB / 0.8797 GB, free: 41.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3053, allocations: 155.2 MB / 1.031 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001258/0.3066, allocations: 0.9835 MB / 1.032 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.308, allocations: 0.9169 MB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.3081, allocations: 0 / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.3081, allocations: 4 kB / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.3082, allocations: 27.95 kB / 1.033 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.3088, allocations: 191 kB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.3089, allocations: 39.95 kB / 1.033 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.309, allocations: 0 / 1.033 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.309, allocations: 19.98 kB / 1.033 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3092, allocations: 47.94 kB / 1.033 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.3092, allocations: 0 / 1.033 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.3096, allocations: 283.5 kB / 1.034 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.3096, allocations: 15.92 kB / 1.034 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.3097, allocations: 49.52 kB / 1.034 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.31, allocations: 247.7 kB / 1.034 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.31, allocations: 4 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.31, allocations: 0 / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.31, allocations: 3.938 kB / 1.034 GB, free: 1.305 MB / 0.7794 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.0003544/0.3103, allocations: 371.4 kB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3104, allocations: 15.98 kB / 1.034 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.3104, allocations: 34.75 kB / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.3105, allocations: 8.844 kB / 1.034 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3106, allocations: 168.3 kB / 1.035 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3106, allocations: 384 / 1.035 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.3106, allocations: 4.375 kB / 1.035 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3107, allocations: 69.73 kB / 1.035 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3108, allocations: 0 / 1.035 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.3108, allocations: 0 / 1.035 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.3108, allocations: 8 kB / 1.035 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/0.3108, allocations: 27.98 kB / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.311, allocations: 177.5 kB / 1.035 GB, free: 296 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.103e-05/0.3111, allocations: 50.58 kB / 1.035 GB, free: 236 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.3112, allocations: 49 kB / 1.035 GB, free: 184 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.3112, allocations: 0 / 1.035 GB, free: 184 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.3112, allocations: 38.5 kB / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.3112, allocations: 0 / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0002109/0.3114, allocations: 133.6 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.3115, allocations: 55.41 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3116, allocations: 129.8 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3116, allocations: 29.53 kB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.3116, allocations: 92.17 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.3117, allocations: 31.53 kB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.3117, allocations: 17.72 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3118, allocations: 322.8 kB / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.3118, allocations: 23.98 kB / 1.036 GB, free: 15.26 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.3119, allocations: 24.28 kB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.756e-05/0.3119, allocations: 72.86 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.312, allocations: 7.984 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001043/0.3121, allocations: 101.5 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3121, allocations: 8 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3121, allocations: 3.984 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.3121, allocations: 0 / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3121, allocations: 0 / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.3121, allocations: 0 / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.3121, allocations: 4 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3122, allocations: 0 / 1.036 GB, free: 15.04 MB / 0.795 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.005e-05/0.3122, allocations: 125.8 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.3123, allocations: 7.844 kB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.394e-05/0.3123, allocations: 12.38 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.3123, allocations: 11.98 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3123, allocations: 4 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.3123, allocations: 3.938 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.3125, allocations: 181.5 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3125, allocations: 0 / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-06/0.3125, allocations: 3.938 kB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3125, allocations: 0 / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3125, allocations: 0 / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3125, allocations: 3.984 kB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3125, allocations: 4 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.3126, allocations: 125 kB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.3127, allocations: 88.95 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.3127, allocations: 0 / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.3127, allocations: 0 / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.3127, allocations: 3.984 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.3127, allocations: 7.938 kB / 1.037 GB, free: 14.37 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.3128, allocations: 99.27 kB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3128, allocations: 4.031 kB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002727/0.3131, allocations: 75.98 kB / 1.037 GB, free: 14.19 MB / 0.795 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.000538/0.3136, allocations: 0.7333 MB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.3137, allocations: 67.97 kB / 1.038 GB, free: 13.36 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3137, allocations: 4.094 kB / 1.038 GB, free: 13.36 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.3138, allocations: 35.98 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3139, allocations: 3.984 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.3144, allocations: 274.8 kB / 1.038 GB, free: 13.02 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.3146, allocations: 0.7043 MB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.3146, allocations: 4 kB / 1.039 GB, free: 12.28 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3147, allocations: 23.42 kB / 1.039 GB, free: 12.26 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.3147, allocations: 3.938 kB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9015/1.216, allocations: 2.609 MB / 1.041 GB, free: 9.883 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/1.216, allocations: 284.1 kB / 1.041 GB, free: 9.508 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/3.258, allocations: 3.891 kB / 1.041 GB, free: 9.508 MB / 0.795 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