Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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.001689/0.001689, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.002/0.002, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 12 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.684, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001335/0.6854, allocations: 1.003 MB / 0.9549 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006836/0.6861, allocations: 420 kB / 0.9553 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.6862, allocations: 0 / 0.9553 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.407e-05/0.6863, allocations: 0 / 0.9553 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.6863, allocations: 17.91 kB / 0.9553 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.6866, allocations: 15.95 kB / 0.9553 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.097e-05/0.6867, allocations: 37.5 kB / 0.9553 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.6867, allocations: 10.28 kB / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.6867, allocations: 5.188 kB / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.6868, allocations: 11.59 kB / 0.9554 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.6868, allocations: 1.031 kB / 0.9554 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.687, allocations: 34.52 kB / 0.9554 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.687, allocations: 16.67 kB / 0.9554 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.687, allocations: 32.02 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.15e-05/0.6871, allocations: 39.3 kB / 0.9555 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6871, allocations: 0 / 0.9555 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6872, allocations: 1.25 kB / 0.9555 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.6872, allocations: 0 / 0.9555 GB, free: 6.848 MB / 0.7169 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.0002902/0.6875, allocations: 348.6 kB / 0.9558 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6875, allocations: 9.469 kB / 0.9558 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.6875, allocations: 30.56 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.6876, allocations: 9.516 kB / 0.9559 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.6877, allocations: 173.8 kB / 0.956 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.6877, allocations: 1.375 kB / 0.956 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.6877, allocations: 5.719 kB / 0.956 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.306e-05/0.6878, allocations: 50.97 kB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6878, allocations: 3.984 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.6879, allocations: 1.75 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6879, allocations: 0 / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.6879, allocations: 11.27 kB / 0.9561 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.688, allocations: 175 kB / 0.9563 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.2e-05/0.6881, allocations: 42.05 kB / 0.9563 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.6881, allocations: 19.25 kB / 0.9563 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.6881, allocations: 4.656 kB / 0.9563 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.6882, allocations: 36.47 kB / 0.9564 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.6882, allocations: 0 / 0.9564 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001259/0.6883, allocations: 45.78 kB / 0.9564 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.6883, allocations: 86.55 kB / 0.9565 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.6884, allocations: 139.3 kB / 0.9566 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.6885, allocations: 27.2 kB / 0.9566 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.6885, allocations: 97.69 kB / 0.9567 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.6885, allocations: 5.312 kB / 0.9567 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.6885, allocations: 0 / 0.9567 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.6886, allocations: 320.1 kB / 0.957 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.6886, allocations: 24.3 kB / 0.9571 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.6886, allocations: 24.56 kB / 0.9571 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/0.6887, allocations: 27.64 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6887, allocations: 0 / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001292/0.6888, allocations: 96.61 kB / 0.9572 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.6889, allocations: 9.469 kB / 0.9572 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.6889, allocations: 5.297 kB / 0.9572 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.6889, allocations: 0 / 0.9572 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.6889, allocations: 2.281 kB / 0.9572 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.689, allocations: 5.094 kB / 0.9572 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.689, allocations: 6.188 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.689, allocations: 9.016 kB / 0.9572 GB, free: 4.992 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.6891, allocations: 118.4 kB / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.6891, allocations: 4.969 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.6891, allocations: 8.625 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6891, allocations: 1.062 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6891, allocations: 5.156 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6891, allocations: 0 / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.828e-05/0.6892, allocations: 169.6 kB / 0.9575 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6892, allocations: 0 / 0.9575 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.6892, allocations: 3.125 kB / 0.9575 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6893, allocations: 0.8438 kB / 0.9575 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.6893, allocations: 4.906 kB / 0.9576 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6893, allocations: 1.125 kB / 0.9576 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6893, allocations: 1.312 kB / 0.9576 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.13e-05/0.6894, allocations: 84.47 kB / 0.9576 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.6894, allocations: 82.17 kB / 0.9577 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.6894, allocations: 1.094 kB / 0.9577 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.615e-05/0.6894, allocations: 1.125 kB / 0.9577 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.6894, allocations: 1.219 kB / 0.9577 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.6895, allocations: 5.312 kB / 0.9577 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.6895, allocations: 104.5 kB / 0.9578 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6895, allocations: 0 / 0.9578 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002255/0.6897, allocations: 19.75 kB / 0.9578 GB, free: 4.352 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002902/0.69, allocations: 0.6304 MB / 0.9585 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.6902, allocations: 83.55 kB / 0.9585 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6902, allocations: 0 / 0.9585 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.6902, allocations: 4.688 kB / 0.9585 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.6903, allocations: 2.578 kB / 0.9585 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.691, allocations: 488.2 kB / 0.959 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.6911, allocations: 0.6822 MB / 0.9597 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.6911, allocations: 1.438 kB / 0.9597 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.6911, allocations: 16.42 kB / 0.9597 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6911, allocations: 4.062 kB / 0.9597 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.7025, allocations: 1.493 MB / 0.9612 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/0.7027, allocations: 264.9 kB / 0.9614 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.377, allocations: 7.938 kB / 0.9614 GB, free: 1.582 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat does not exist to compare? outputFormat=mat