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.0008158/0.0008158, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008361/0.0008361, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8537/0.8537, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.186e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001793/0.001815, allocations: 1.297 MB / 0.9518 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.002917, allocations: 0.8536 MB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.00294, allocations: 4 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.002972, allocations: 0 / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.003094, allocations: 31.94 kB / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.003766, allocations: 260.6 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.501e-05/0.003831, allocations: 27.95 kB / 0.953 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.003871, allocations: 4 kB / 0.953 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.003916, allocations: 19.98 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.004047, allocations: 59.86 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.004058, allocations: 0 / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.004403, allocations: 279.6 kB / 0.9533 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.004453, allocations: 27.91 kB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.004473, allocations: 7.938 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.004746, allocations: 283.3 kB / 0.9536 GB, free: 312 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.00475, allocations: 4 kB / 0.9536 GB, free: 308 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.753e-06/0.004752, allocations: 0 / 0.9536 GB, free: 308 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.004757, allocations: 0 / 0.9536 GB, free: 308 kB / 0.9011 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.0003153/0.005072, allocations: 313.7 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.00511, allocations: 12.03 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.747e-05/0.005137, allocations: 34.73 kB / 0.954 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.005163, allocations: 12.89 kB / 0.954 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.475e-05/0.005238, allocations: 117.6 kB / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.005248, allocations: 384 / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.005254, allocations: 384 / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.005364, allocations: 58.25 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.00537, allocations: 4.188 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.005378, allocations: 8.062 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.005406, allocations: 11.98 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.864e-05/0.005435, allocations: 27.98 kB / 0.9542 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.005589, allocations: 144.7 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.005642, allocations: 46.56 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.005668, allocations: 32.88 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-06/0.005675, allocations: 0 / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.005695, allocations: 38.75 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.005696, allocations: 3.938 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002153/0.005911, allocations: 133.5 kB / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.005958, allocations: 51.41 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.00608, allocations: 125.8 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.006093, allocations: 33.58 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.006316, allocations: 96.11 kB / 0.9549 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.006379, allocations: 31.7 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.006418, allocations: 17.7 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.006538, allocations: 318.8 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.006584, allocations: 27.98 kB / 0.9552 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.006616, allocations: 31.98 kB / 0.9553 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/0.006703, allocations: 77.2 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.006709, allocations: 4 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000123/0.006832, allocations: 101.6 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.006856, allocations: 4 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.006869, allocations: 0 / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.006895, allocations: 7.938 kB / 0.9555 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.395e-06/0.006897, allocations: 0 / 0.9555 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.006907, allocations: 0 / 0.9555 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.00693, allocations: 3.953 kB / 0.9555 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.006951, allocations: 4 kB / 0.9555 GB, free: 14.21 MB / 0.9167 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.0001038/0.007055, allocations: 121.9 kB / 0.9556 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.007065, allocations: 4 kB / 0.9556 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.007094, allocations: 12.42 kB / 0.9556 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.007117, allocations: 11.94 kB / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.007125, allocations: 0 / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.007132, allocations: 3.984 kB / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.007291, allocations: 148.7 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.007294, allocations: 0 / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.007295, allocations: 0 / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.007299, allocations: 4 kB / 0.9558 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.007309, allocations: 0 / 0.9558 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.007312, allocations: 11.88 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.007315, allocations: 0 / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.00747, allocations: 129 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.007486, allocations: 7.891 kB / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.007503, allocations: 4 kB / 0.9559 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-06/0.007513, allocations: 3.938 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.007534, allocations: 3.938 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.007541, allocations: 4 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.188e-05/0.007603, allocations: 107.1 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007603, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000416/0.008019, allocations: 71.84 kB / 0.9561 GB, free: 13.5 MB / 0.9167 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.0006924/0.008712, allocations: 0.745 MB / 0.9568 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.008854, allocations: 59.92 kB / 0.9569 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.008857, allocations: 0 / 0.9569 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/0.008876, allocations: 27.98 kB / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.009029, allocations: 11.94 kB / 0.9569 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.009561, allocations: 254.9 kB / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.482e-05/0.009626, allocations: 75.33 kB / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.486e-05/0.009671, allocations: 10.78 kB / 0.9572 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.009722, allocations: 20.48 kB / 0.9572 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of SimCode: time 6.92e-07/0.009723, allocations: 3.938 kB / 0.9572 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.02814, allocations: 3.423 MB / 0.9606 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.071, allocations: 11.55 kB / 0.9606 GB, free: 9.012 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.911109638400376]