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.00161/0.00161, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002127/0.002127, allocations: 215 kB / 20.13 MB, free: 2.949 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.832/2.832, allocations: 0.49 GB / 0.7923 GB, free: 1.297 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="cs",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="cs",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.001957/0.001957, allocations: 59.91 kB / 1.15 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9269/0.9288, allocations: 176.1 MB / 1.322 GB, free: 7.598 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002427/0.9312, allocations: 1.266 MB / 1.323 GB, free: 6.602 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.9328, allocations: 0.9308 MB / 1.324 GB, free: 5.891 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.9328, allocations: 4 kB / 1.324 GB, free: 5.887 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.9328, allocations: 3.938 kB / 1.324 GB, free: 5.883 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.9329, allocations: 32.03 kB / 1.324 GB, free: 5.867 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.9337, allocations: 241.3 kB / 1.324 GB, free: 5.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.175e-05/0.9338, allocations: 29.45 kB / 1.324 GB, free: 5.719 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.9338, allocations: 1.281 kB / 1.324 GB, free: 5.719 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.9338, allocations: 27.67 kB / 1.324 GB, free: 5.703 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.934, allocations: 56.05 kB / 1.324 GB, free: 5.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.934, allocations: 0 / 1.324 GB, free: 5.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.9344, allocations: 294.8 kB / 1.324 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.9345, allocations: 17.02 kB / 1.324 GB, free: 5.508 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.9345, allocations: 16.78 kB / 1.324 GB, free: 5.496 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.9348, allocations: 237.2 kB / 1.325 GB, free: 5.363 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9348, allocations: 1.25 kB / 1.325 GB, free: 5.363 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9348, allocations: 4 kB / 1.325 GB, free: 5.359 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.9348, allocations: 0 / 1.325 GB, free: 5.359 MB / 1.014 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.0004433/0.9353, allocations: 396 kB / 1.325 GB, free: 4.949 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.9353, allocations: 14.23 kB / 1.325 GB, free: 4.945 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.136e-05/0.9353, allocations: 192 / 1.325 GB, free: 4.945 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.9354, allocations: 36.16 kB / 1.325 GB, free: 4.902 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.9354, allocations: 7.703 kB / 1.325 GB, free: 4.898 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.9355, allocations: 176.1 kB / 1.325 GB, free: 4.691 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-06/0.9355, allocations: 8.312 kB / 1.325 GB, free: 4.684 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.9355, allocations: 1.75 kB / 1.325 GB, free: 4.684 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.9357, allocations: 72.19 kB / 1.325 GB, free: 4.629 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.9357, allocations: 0 / 1.325 GB, free: 4.629 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.9357, allocations: 0 / 1.325 GB, free: 4.629 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.9357, allocations: 10.31 kB / 1.325 GB, free: 4.629 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.9357, allocations: 32.8 kB / 1.325 GB, free: 4.617 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.936, allocations: 168.8 kB / 1.325 GB, free: 4.418 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/0.936, allocations: 43.89 kB / 1.326 GB, free: 4.387 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.9361, allocations: 34.38 kB / 1.326 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.9361, allocations: 3.938 kB / 1.326 GB, free: 4.367 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.9361, allocations: 35.62 kB / 1.326 GB, free: 4.324 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.9361, allocations: 0 / 1.326 GB, free: 4.324 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0002086/0.9363, allocations: 139 kB / 1.326 GB, free: 4.258 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.9363, allocations: 51.41 kB / 1.326 GB, free: 4.195 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.9365, allocations: 134.1 kB / 1.326 GB, free: 4.078 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.9365, allocations: 30.86 kB / 1.326 GB, free: 4.043 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.9365, allocations: 86.8 kB / 1.326 GB, free: 3.957 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.9366, allocations: 35.91 kB / 1.326 GB, free: 3.926 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.9366, allocations: 14.41 kB / 1.326 GB, free: 3.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9367, allocations: 321.2 kB / 1.326 GB, free: 3.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.9368, allocations: 32.8 kB / 1.326 GB, free: 3.578 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.9368, allocations: 25.22 kB / 1.326 GB, free: 3.574 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/0.9369, allocations: 73.97 kB / 1.326 GB, free: 3.547 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.9369, allocations: 4.031 kB / 1.326 GB, free: 3.543 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001141/0.937, allocations: 101.9 kB / 1.327 GB, free: 3.488 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.937, allocations: 9.016 kB / 1.327 GB, free: 3.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.937, allocations: 1.344 kB / 1.327 GB, free: 3.484 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.937, allocations: 0 / 1.327 GB, free: 3.484 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.937, allocations: 0 / 1.327 GB, free: 3.484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.937, allocations: 5.328 kB / 1.327 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.937, allocations: 4.906 kB / 1.327 GB, free: 3.477 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.937, allocations: 2.406 kB / 1.327 GB, free: 3.477 MB / 1.014 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.328e-05/0.9371, allocations: 131.5 kB / 1.327 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.9372, allocations: 10.36 kB / 1.327 GB, free: 3.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.449e-05/0.9372, allocations: 7 kB / 1.327 GB, free: 3.332 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.9372, allocations: 14.05 kB / 1.327 GB, free: 3.328 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.9372, allocations: 4 kB / 1.327 GB, free: 3.324 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.9372, allocations: 0 / 1.327 GB, free: 3.324 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.9374, allocations: 178.4 kB / 1.327 GB, free: 3.117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9374, allocations: 3.938 kB / 1.327 GB, free: 3.113 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.9374, allocations: 1.188 kB / 1.327 GB, free: 3.113 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.9374, allocations: 0 / 1.327 GB, free: 3.113 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.9374, allocations: 5.219 kB / 1.327 GB, free: 3.109 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.9374, allocations: 0 / 1.327 GB, free: 3.109 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.9374, allocations: 1.219 kB / 1.327 GB, free: 3.109 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.9375, allocations: 126.9 kB / 1.327 GB, free: 3.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.9376, allocations: 86.34 kB / 1.327 GB, free: 2.918 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.9376, allocations: 1.25 kB / 1.327 GB, free: 2.918 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.269e-05/0.9376, allocations: 3.984 kB / 1.327 GB, free: 2.914 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.9376, allocations: 1.375 kB / 1.327 GB, free: 2.914 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.9376, allocations: 6.562 kB / 1.327 GB, free: 2.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.9377, allocations: 100.4 kB / 1.327 GB, free: 2.828 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9377, allocations: 0 / 1.327 GB, free: 2.828 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003091/0.938, allocations: 73.67 kB / 1.327 GB, free: 2.812 MB / 1.014 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.0006293/0.9386, allocations: 0.7305 MB / 1.328 GB, free: 2.172 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.9387, allocations: 70.91 kB / 1.328 GB, free: 2.148 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9387, allocations: 0 / 1.328 GB, free: 2.148 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.9387, allocations: 30.73 kB / 1.328 GB, free: 2.141 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.9389, allocations: 2.031 kB / 1.328 GB, free: 2.141 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.9394, allocations: 263.1 kB / 1.328 GB, free: 1.934 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.9397, allocations: 0.6977 MB / 1.329 GB, free: 1.227 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.9397, allocations: 12.66 kB / 1.329 GB, free: 1.219 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.9398, allocations: 17.5 kB / 1.329 GB, free: 1.203 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.9398, allocations: 1.156 kB / 1.329 GB, free: 1.203 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.9584, allocations: 2.896 MB / 1.332 GB, free: 15.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/9.058, allocations: 7.781 kB / 1.332 GB, free: 15.77 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.25986599700991]