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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008156/0.008156, allocations: 102 kB / 15.73 MB, free: 6.039 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.001875/0.001875, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.51/2.51, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 59.89 kB / 1.054 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.798, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.00256/0.8006, allocations: 1.293 MB / 1.209 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008123/0.8014, allocations: 450.9 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.8015, allocations: 0 / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.357e-05/0.8016, allocations: 4 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.8017, allocations: 11.92 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.8019, allocations: 31.89 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.802, allocations: 23.92 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.8021, allocations: 4 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.8021, allocations: 11.92 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.8022, allocations: 7.984 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.8022, allocations: 0 / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.8024, allocations: 43.91 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.8024, allocations: 23.91 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.8025, allocations: 15.92 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.8026, allocations: 62.06 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.8027, allocations: 0 / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8027, allocations: 0 / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.8027, allocations: 0 / 1.209 GB, free: 11.56 MB / 0.9356 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.000409/0.8031, allocations: 347.4 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8031, allocations: 8.031 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.8032, allocations: 30.75 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.8032, allocations: 8.844 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.8034, allocations: 172.4 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.8034, allocations: 4.375 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.8034, allocations: 384 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.8035, allocations: 47.48 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8035, allocations: 7.984 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.8036, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.8036, allocations: 3.984 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.318e-05/0.8036, allocations: 4 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.8038, allocations: 182.4 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.66e-05/0.8038, allocations: 45.14 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.8039, allocations: 17.78 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.8039, allocations: 0 / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.8039, allocations: 42.44 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.8039, allocations: 3.938 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001482/0.8041, allocations: 49.62 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.8041, allocations: 81.11 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.8043, allocations: 145.3 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.8043, allocations: 25.7 kB / 1.21 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.8043, allocations: 88.39 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.8044, allocations: 11.84 kB / 1.21 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.8044, allocations: 25.7 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8046, allocations: 318.8 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.8046, allocations: 23.98 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.8047, allocations: 23.98 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.804e-05/0.8048, allocations: 44.84 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8048, allocations: 0 / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000129/0.8049, allocations: 105.5 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.8049, allocations: 4 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.8049, allocations: 4 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.805, allocations: 0 / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.805, allocations: 7.938 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.805, allocations: 0 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.8051, allocations: 7.906 kB / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.8051, allocations: 0 / 1.211 GB, free: 9.453 MB / 0.9356 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 7.812e-05/0.8052, allocations: 117.8 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.8052, allocations: 11.84 kB / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.8052, allocations: 7.531 kB / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.8052, allocations: 4 kB / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8052, allocations: 0 / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8052, allocations: 0 / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.8054, allocations: 165.6 kB / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8054, allocations: 0 / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.8054, allocations: 7.938 kB / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8054, allocations: 0 / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.8054, allocations: 4 kB / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8054, allocations: 0 / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8054, allocations: 0 / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.8056, allocations: 77.92 kB / 1.211 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.8056, allocations: 84.95 kB / 1.211 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.8057, allocations: 3.938 kB / 1.211 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.904e-05/0.8057, allocations: 8 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.8057, allocations: 0 / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.8057, allocations: 4 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000124/0.8058, allocations: 107.3 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8058, allocations: 3.938 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002073/0.8061, allocations: 16 kB / 1.212 GB, free: 8.734 MB / 0.9356 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.0004468/0.8065, allocations: 0.6366 MB / 1.212 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.8067, allocations: 81.67 kB / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8067, allocations: 0 / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.659e-05/0.8067, allocations: 15.94 kB / 1.212 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.8069, allocations: 0 / 1.212 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.8081, allocations: 1.315 MB / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.8084, allocations: 0.6807 MB / 1.214 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.8084, allocations: 12.02 kB / 1.214 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.8084, allocations: 15.42 kB / 1.214 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.8084, allocations: 0 / 1.214 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.8277, allocations: 1.715 MB / 1.216 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.183/8.01, allocations: 8.438 kB / 1.216 GB, free: 4.324 MB / 0.9356 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