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.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.0016/0.0016, 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.001838/0.001838, allocations: 209.6 kB / 22.24 MB, free: 4.859 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.104/3.104, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002234/0.002234, allocations: 62.78 kB / 1.186 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3393, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002931/0.3422, allocations: 1.283 MB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.344, allocations: 0.8621 MB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.344, allocations: 0 / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.344, allocations: 0 / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.3442, allocations: 35.89 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.3451, allocations: 259 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.982e-05/0.3452, allocations: 27.97 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.082e-05/0.3452, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.3453, allocations: 23.97 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3454, allocations: 51.94 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3454, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000572/0.346, allocations: 303.5 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.3461, allocations: 15.92 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.3461, allocations: 15.88 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.3465, allocations: 239.6 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3465, allocations: 3.938 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3465, allocations: 0 / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.3465, allocations: 0 / 1.366 GB, free: 10.97 MB / 1.061 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.0004432/0.3469, allocations: 313.8 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.347, allocations: 8.031 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.347, allocations: 34.75 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.3471, allocations: 8.891 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3472, allocations: 118.4 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3472, allocations: 8.344 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.3472, allocations: 384 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3473, allocations: 61.81 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3473, allocations: 7.875 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.3474, allocations: 0 / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.3474, allocations: 19.98 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.3474, allocations: 24 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.3476, allocations: 144.7 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.073e-05/0.3477, allocations: 42.56 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.3478, allocations: 36.88 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.3478, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3478, allocations: 42.62 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.3478, allocations: 0 / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0002473/0.3481, allocations: 125.6 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3481, allocations: 59.34 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3482, allocations: 133.8 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.3482, allocations: 25.7 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.3483, allocations: 96.12 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.3483, allocations: 27.7 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.3484, allocations: 21.7 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3485, allocations: 318.8 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/0.3486, allocations: 27.98 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.3486, allocations: 23.98 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.995e-05/0.3487, allocations: 69.2 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3487, allocations: 0 / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001401/0.3488, allocations: 113.4 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3488, allocations: 8.062 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3488, allocations: 0 / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3488, allocations: 0 / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.3488, allocations: 0 / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3489, allocations: 0 / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.3489, allocations: 7.953 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3489, allocations: 0 / 1.368 GB, free: 8.887 MB / 1.061 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.606e-05/0.349, allocations: 125.8 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.349, allocations: 7.891 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.349, allocations: 12.36 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.349, allocations: 12 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.349, allocations: 4 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3491, allocations: 0 / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3492, allocations: 144.7 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3492, allocations: 0 / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.3492, allocations: 3.938 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3492, allocations: 3.938 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3492, allocations: 0 / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3492, allocations: 4 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3492, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.3494, allocations: 117.1 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.3494, allocations: 27.78 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.3494, allocations: 0 / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.3494, allocations: 0 / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.3494, allocations: 7.938 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3494, allocations: 0 / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.766e-05/0.3495, allocations: 107.6 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3495, allocations: 4 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003144/0.3498, allocations: 67.86 kB / 1.369 GB, free: 8.172 MB / 1.061 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.0007031/0.3505, allocations: 0.7293 MB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.3506, allocations: 67.95 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3506, allocations: 0 / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.3507, allocations: 27.98 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.3508, allocations: 4 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.3514, allocations: 259.5 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.12e-05/0.3515, allocations: 83.31 kB / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.716e-05/0.3515, allocations: 16.05 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.3516, allocations: 15.44 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.3516, allocations: 0 / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.3825, allocations: 3.259 MB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.48, allocations: 5.969 kB / 1.373 GB, free: 3.797 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.921310842968524]