Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 215.9 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.997/2.997, allocations: 0.4892 GB / 0.7943 GB, free: 35.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 66.89 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3215, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002677/0.3242, allocations: 1.288 MB / 1.326 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3258, allocations: 0.8687 MB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.3259, allocations: 0 / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.3259, allocations: 7.922 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.326, allocations: 23.97 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.3269, allocations: 267.3 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.82e-05/0.327, allocations: 23.98 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.327, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.3271, allocations: 23.95 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3272, allocations: 55.88 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.3272, allocations: 0 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/0.3277, allocations: 295.5 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.3278, allocations: 15.92 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.3278, allocations: 19.88 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.3282, allocations: 243.6 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3282, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3282, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3282, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 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.0004545/0.3287, allocations: 317.7 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3287, allocations: 12.02 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.3288, allocations: 34.75 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.3288, allocations: 8.891 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3289, allocations: 118.4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.3289, allocations: 4.359 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.3289, allocations: 4.375 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.3291, allocations: 61.81 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3291, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.3291, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.3291, allocations: 15.98 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.882e-05/0.3291, allocations: 23.98 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.3295, allocations: 148.6 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.3296, allocations: 46.59 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.3296, allocations: 36.88 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.3296, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3297, allocations: 38.5 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.3297, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0002253/0.3299, allocations: 133.6 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3299, allocations: 51.41 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.33, allocations: 129.8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3301, allocations: 25.7 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.3302, allocations: 88.14 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.3302, allocations: 35.69 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.3302, allocations: 17.72 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3304, allocations: 322.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-05/0.3304, allocations: 20 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.3305, allocations: 32.3 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/0.3305, allocations: 76.8 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3305, allocations: 4 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001256/0.3307, allocations: 101.6 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3307, allocations: 7.938 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3307, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3307, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.3307, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3307, allocations: 3.984 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.3307, allocations: 7.984 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3307, allocations: 4.062 kB / 1.33 GB, free: 13.13 MB / 1.029 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.0001021/0.3308, allocations: 126.3 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.3309, allocations: 7.891 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.3309, allocations: 8.375 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/0.3309, allocations: 15.98 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3309, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3309, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.3311, allocations: 144.7 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3311, allocations: 3.938 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-06/0.3311, allocations: 3.938 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3311, allocations: 4 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3311, allocations: 8 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3311, allocations: 3.984 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3311, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3313, allocations: 124.9 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.3313, allocations: 11.88 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3313, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.3313, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.3313, allocations: 4 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3313, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.3314, allocations: 107.2 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3314, allocations: 4.031 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003637/0.3318, allocations: 67.88 kB / 1.331 GB, free: 12.42 MB / 1.029 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.0007394/0.3325, allocations: 0.7293 MB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.3326, allocations: 63.97 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3326, allocations: 0 / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.3327, allocations: 27.94 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.3329, allocations: 7.984 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/0.3336, allocations: 267.7 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.688e-05/0.3336, allocations: 79.31 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.3337, allocations: 4 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.3337, allocations: 27.36 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of SimCode: time 8.82e-07/0.3337, allocations: 4 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.3665, allocations: 3.249 MB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.42, allocations: 14.92 kB / 1.335 GB, free: 8.051 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.70773641904816]