Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008847/0.008847, allocations: 170.4 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.566/2.566, allocations: 462.7 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12.81 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2506, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001231/0.2519, allocations: 1.02 MB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.2526, allocations: 458.9 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.2527, allocations: 0 / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.694e-05/0.2527, allocations: 0 / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.2528, allocations: 3.938 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.253, allocations: 31.95 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.125e-05/0.2531, allocations: 35.91 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.2531, allocations: 3.984 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.557e-05/0.2531, allocations: 7.938 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.2532, allocations: 19.98 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.2532, allocations: 0 / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.2533, allocations: 47.89 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.2534, allocations: 19.92 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.2534, allocations: 37.58 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.2536, allocations: 60.08 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2536, allocations: 0 / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2536, allocations: 0 / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2536, allocations: 0 / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003013/0.2539, allocations: 343.5 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2539, allocations: 15.97 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.254, allocations: 34.75 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.254, allocations: 4.844 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2541, allocations: 180.2 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.2541, allocations: 4.375 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.2542, allocations: 384 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.2543, allocations: 47.55 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2543, allocations: 3.984 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.2543, allocations: 4 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2543, allocations: 0 / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.2543, allocations: 11.88 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.2545, allocations: 170.6 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.2545, allocations: 45.14 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.2546, allocations: 21.84 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.2546, allocations: 3.938 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.2546, allocations: 34.5 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.2546, allocations: 0 / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.2547, allocations: 53.53 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2548, allocations: 81.36 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.2549, allocations: 141.8 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2549, allocations: 29.64 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.255, allocations: 88.05 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.255, allocations: 7.906 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.255, allocations: 25.7 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.2551, allocations: 310.8 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.2552, allocations: 27.98 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.2552, allocations: 23.98 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.2553, allocations: 51.09 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2553, allocations: 0 / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001235/0.2554, allocations: 101.5 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2554, allocations: 4 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2554, allocations: 0 / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2554, allocations: 4 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.231e-05/0.2555, allocations: 4 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2555, allocations: 0 / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.2555, allocations: 11.84 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.2555, allocations: 0 / 1.062 GB, free: 0.9492 MB / 0.8106 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.679e-05/0.2556, allocations: 117.8 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.2556, allocations: 7.938 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.2557, allocations: 7.609 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2557, allocations: 0 / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2557, allocations: 0 / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2557, allocations: 4 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.222e-05/0.2558, allocations: 157.7 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2558, allocations: 7.984 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.2558, allocations: 3.938 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2558, allocations: 7.938 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.2558, allocations: 4 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2558, allocations: 3.938 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2558, allocations: 0 / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.477e-05/0.2559, allocations: 73.89 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.256, allocations: 84.95 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.256, allocations: 4 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.659e-05/0.256, allocations: 4.031 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-06/0.256, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.256, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.695e-05/0.2561, allocations: 111 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2561, allocations: 0 / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001975/0.2563, allocations: 20 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0003735/0.2567, allocations: 0.6288 MB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.2568, allocations: 89.61 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2568, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.2568, allocations: 7.938 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.257, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009861/0.258, allocations: 1.305 MB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2582, allocations: 0.6848 MB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.2582, allocations: 3.984 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.2583, allocations: 11.44 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.2583, allocations: 3.938 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.926/2.185, allocations: 1.52 MB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004846/2.185, allocations: 275.5 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/4.611, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches