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.0008896/0.0008896, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009173/0.0009173, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.836/0.836, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.686/1.686, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.559e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001444/0.001459, allocations: 1.275 MB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.002629, allocations: 0.8537 MB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.002651, allocations: 3.938 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.002683, allocations: 0 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.002793, allocations: 31.95 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.003368, allocations: 263.2 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.656e-05/0.003425, allocations: 31.84 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.003459, allocations: 7.984 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.003499, allocations: 15.98 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.003623, allocations: 55.92 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.003634, allocations: 0 / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.003931, allocations: 287.5 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.003969, allocations: 19.98 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.003987, allocations: 11.92 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.00423, allocations: 279.4 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004232, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004233, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004237, allocations: 3.938 kB / 1.003 GB, free: 10.31 MB / 0.9636 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.0002762/0.004514, allocations: 313.8 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.004549, allocations: 12.03 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.004576, allocations: 30.75 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.004597, allocations: 8.891 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.986e-05/0.004677, allocations: 125.6 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.004686, allocations: 384 / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-06/0.004692, allocations: 384 / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.004793, allocations: 54.25 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.0048, allocations: 192 / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.004809, allocations: 4.125 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.004833, allocations: 15.98 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.674e-05/0.00486, allocations: 31.94 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.005009, allocations: 156.6 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.74e-05/0.005056, allocations: 42.56 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.00508, allocations: 28.88 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.005086, allocations: 0 / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.005104, allocations: 38.56 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.005105, allocations: 0 / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0001537/0.005258, allocations: 130 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.005284, allocations: 51.41 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.13e-05/0.005355, allocations: 133.9 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.005363, allocations: 29.64 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.005391, allocations: 92.12 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.005422, allocations: 35.69 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.005449, allocations: 21.66 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.005518, allocations: 322.8 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.005542, allocations: 27.98 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/0.005561, allocations: 31.98 kB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.00561, allocations: 72.83 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005612, allocations: 0 / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.131e-05/0.005683, allocations: 97.56 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.005695, allocations: 8.062 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.0057, allocations: 4 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.005712, allocations: 3.938 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.005713, allocations: 0 / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.005717, allocations: 0 / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.005727, allocations: 3.938 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.005737, allocations: 4 kB / 1.005 GB, free: 8.227 MB / 0.9636 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 5.383e-05/0.005791, allocations: 121.8 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.005797, allocations: 7.953 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.071e-05/0.005808, allocations: 8.438 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.005821, allocations: 19.92 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.005824, allocations: 0 / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.005827, allocations: 0 / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.444e-05/0.005911, allocations: 144.7 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005913, allocations: 4.078 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.005913, allocations: 3.938 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-07/0.005914, allocations: 4 kB / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.005919, allocations: 0 / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.005921, allocations: 3.938 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.005923, allocations: 3.938 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.134e-05/0.006004, allocations: 121.1 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.006012, allocations: 11.92 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.006022, allocations: 7.984 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/0.006028, allocations: 3.938 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.006042, allocations: 4 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.006046, allocations: 4 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.006082, allocations: 99.27 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006082, allocations: 0 / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001926/0.006274, allocations: 71.8 kB / 1.005 GB, free: 7.523 MB / 0.9636 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.0003981/0.006672, allocations: 0.7373 MB / 1.006 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.625e-05/0.006759, allocations: 67.94 kB / 1.006 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00676, allocations: 0 / 1.006 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.726e-05/0.006777, allocations: 31.98 kB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.006886, allocations: 7.875 kB / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.007245, allocations: 251.1 kB / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.007293, allocations: 79.31 kB / 1.006 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.007321, allocations: 10.75 kB / 1.006 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.007359, allocations: 20.5 kB / 1.006 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.007359, allocations: 0 / 1.006 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.02449, allocations: 3.432 MB / 1.01 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.549/6.574, allocations: 7.938 kB / 1.01 GB, free: 3.02 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.386206893250346]