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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004854/0.004854, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001383/0.001383, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.515/2.515, allocations: 482.6 MB / 0.7551 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 68.77 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2887, allocations: 162.3 MB / 1.242 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002152/0.2909, allocations: 1.253 MB / 1.243 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2922, allocations: 0.8796 MB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.2923, allocations: 0 / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.2923, allocations: 4 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.2924, allocations: 31.94 kB / 1.244 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.2931, allocations: 243.5 kB / 1.244 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.206e-05/0.2932, allocations: 35.84 kB / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.2932, allocations: 7.984 kB / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.2933, allocations: 15.98 kB / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.2934, allocations: 43.94 kB / 1.244 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.2934, allocations: 8 kB / 1.244 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.2938, allocations: 275.6 kB / 1.245 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.2939, allocations: 23.91 kB / 1.245 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.2939, allocations: 11.88 kB / 1.245 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.2942, allocations: 239.6 kB / 1.245 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2943, allocations: 4 kB / 1.245 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2943, allocations: 0 / 1.245 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2943, allocations: 0 / 1.245 GB, free: 5.855 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.0004071/0.2947, allocations: 386.9 kB / 1.245 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2947, allocations: 8.031 kB / 1.245 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.2948, allocations: 46.69 kB / 1.245 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.2948, allocations: 4.891 kB / 1.245 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2949, allocations: 180.2 kB / 1.245 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.295, allocations: 384 / 1.245 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.295, allocations: 4.375 kB / 1.245 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2951, allocations: 57.81 kB / 1.246 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2951, allocations: 0 / 1.246 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.2951, allocations: 0 / 1.246 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.2951, allocations: 15.98 kB / 1.246 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.2952, allocations: 23.94 kB / 1.246 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.2954, allocations: 181.7 kB / 1.246 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.576e-05/0.2955, allocations: 54.56 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.2955, allocations: 36.88 kB / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.2955, allocations: 0 / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2956, allocations: 38.5 kB / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 8.81e-07/0.2956, allocations: 0 / 1.246 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0001953/0.2958, allocations: 137.7 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2958, allocations: 59.39 kB / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2959, allocations: 129.8 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.296, allocations: 25.7 kB / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.296, allocations: 92.12 kB / 1.246 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.2961, allocations: 35.64 kB / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.2961, allocations: 17.7 kB / 1.246 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2962, allocations: 318.8 kB / 1.247 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-05/0.2963, allocations: 35.92 kB / 1.247 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.2963, allocations: 23.98 kB / 1.247 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.603e-05/0.2964, allocations: 72.83 kB / 1.247 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2964, allocations: 0 / 1.247 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001148/0.2965, allocations: 105.5 kB / 1.247 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2965, allocations: 4 kB / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2966, allocations: 0 / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2966, allocations: 0 / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.2966, allocations: 0 / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2966, allocations: 384 / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.2966, allocations: 12 kB / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.2966, allocations: 0 / 1.247 GB, free: 3.559 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 9.925e-05/0.2967, allocations: 121.8 kB / 1.247 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.2967, allocations: 11.83 kB / 1.247 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.2968, allocations: 16.36 kB / 1.247 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.2968, allocations: 12 kB / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2968, allocations: 0 / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2968, allocations: 0 / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.297, allocations: 173.6 kB / 1.247 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.297, allocations: 0 / 1.247 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.297, allocations: 7.938 kB / 1.247 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.297, allocations: 0 / 1.247 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.297, allocations: 0 / 1.247 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.297, allocations: 0 / 1.247 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.297, allocations: 4 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.2972, allocations: 129 kB / 1.247 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.2972, allocations: 92.94 kB / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.2972, allocations: 0 / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.218e-05/0.2972, allocations: 8.016 kB / 1.247 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-06/0.2973, allocations: 0 / 1.247 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2973, allocations: 8 kB / 1.247 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.442e-05/0.2973, allocations: 107.2 kB / 1.248 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2974, allocations: 0 / 1.248 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002691/0.2976, allocations: 67.88 kB / 1.248 GB, free: 2.715 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.0006213/0.2983, allocations: 0.7337 MB / 1.248 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.2984, allocations: 67.92 kB / 1.248 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2984, allocations: 0 / 1.248 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.2984, allocations: 35.98 kB / 1.248 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.2986, allocations: 7.875 kB / 1.248 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.299, allocations: 259.6 kB / 1.249 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.2994, allocations: 0.7001 MB / 1.249 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.2994, allocations: 7.125 kB / 1.249 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.2994, allocations: 19.42 kB / 1.249 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.2994, allocations: 4 kB / 1.249 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.636/2.936, allocations: 2.834 MB / 1.252 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/14.95, allocations: 31.69 kB / 1.252 GB, free: 14.14 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=400 --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