Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001548/0.001548, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001852/0.001852, allocations: 218.8 kB / 22.26 MB, free: 5.121 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.623/2.623, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00198/0.00198, allocations: 67.22 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3028, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002657/0.3055, allocations: 1.287 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3073, allocations: 0.9369 MB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.3073, allocations: 0 / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.3073, allocations: 0 / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.3075, allocations: 39.88 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3086, allocations: 255.4 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3087, allocations: 31.95 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.3087, allocations: 0 / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.3088, allocations: 23.92 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.3089, allocations: 59.86 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.3089, allocations: 0 / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.3096, allocations: 319.5 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.154e-05/0.3097, allocations: 27.86 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3098, allocations: 11.88 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.3102, allocations: 246.6 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3102, allocations: 4 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3102, allocations: 0 / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3102, allocations: 0 / 1.287 GB, free: 8.477 MB / 0.9825 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.0005316/0.3108, allocations: 319.3 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3108, allocations: 8.031 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.3109, allocations: 38.73 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.3109, allocations: 0.9375 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.311, allocations: 122.3 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.311, allocations: 8.297 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.311, allocations: 8.375 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3112, allocations: 57.81 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3112, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3112, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.3112, allocations: 15.98 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.3113, allocations: 27.98 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.3115, allocations: 144.7 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.3116, allocations: 42.56 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.3116, allocations: 36.88 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.3116, allocations: 0 / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3117, allocations: 42.44 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 7.72e-07/0.3117, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0002474/0.3119, allocations: 129.7 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.312, allocations: 51.41 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.3121, allocations: 133.8 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3121, allocations: 29.7 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.3122, allocations: 88.17 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.3122, allocations: 39.62 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.3123, allocations: 13.72 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3124, allocations: 322.8 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.3125, allocations: 28 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.656e-05/0.3125, allocations: 35.92 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.367e-05/0.3126, allocations: 68.83 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3126, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001291/0.3127, allocations: 105.5 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3127, allocations: 4 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3127, allocations: 4.359 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3128, allocations: 4 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3128, allocations: 0 / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.3128, allocations: 0 / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.3128, allocations: 3.938 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3128, allocations: 7.984 kB / 1.288 GB, free: 6.383 MB / 0.9825 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.0001005/0.3129, allocations: 125.8 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.3129, allocations: 19.91 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.437e-05/0.3129, allocations: 4.375 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.3129, allocations: 12 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.313, allocations: 0 / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.313, allocations: 3.984 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3131, allocations: 140.7 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3131, allocations: 0 / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.3131, allocations: 3.938 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3131, allocations: 4 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.3131, allocations: 0 / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3131, allocations: 7.984 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3131, allocations: 0 / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.3133, allocations: 125 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.3133, allocations: 11.83 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.3133, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.54e-05/0.3133, allocations: 4 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.3133, allocations: 0 / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3133, allocations: 0 / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.287e-05/0.3134, allocations: 111.3 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3134, allocations: 0 / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003334/0.3137, allocations: 63.88 kB / 1.289 GB, free: 5.688 MB / 0.9825 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.0007189/0.3145, allocations: 0.7332 MB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.3146, allocations: 71.88 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3146, allocations: 0 / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.3146, allocations: 24 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.3148, allocations: 4 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.3153, allocations: 259.5 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3157, allocations: 0.6962 MB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.946e-05/0.3157, allocations: 8.125 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.3158, allocations: 23.42 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3158, allocations: 0 / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3453, allocations: 2.943 MB / 1.294 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.27, allocations: 12.52 kB / 1.294 GB, free: 1.012 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.46593861002475]