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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.0007972/0.0007974, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009085/0.0009085, allocations: 172.7 kB / 15.95 MB, free: 208 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.371/1.371, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.441/2.441, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 12 kB / 0.8378 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.747, allocations: 146.8 MB / 0.9812 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001368/0.7484, allocations: 1.004 MB / 0.9822 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.7491, allocations: 417.7 kB / 0.9826 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.7491, allocations: 0 / 0.9826 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.726e-05/0.7492, allocations: 0 / 0.9826 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.7493, allocations: 11.92 kB / 0.9826 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.7495, allocations: 31.97 kB / 0.9826 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.085e-05/0.7496, allocations: 31.84 kB / 0.9826 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.7496, allocations: 4 kB / 0.9826 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.952e-05/0.7497, allocations: 7.984 kB / 0.9826 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.7497, allocations: 15.92 kB / 0.9827 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.7498, allocations: 0 / 0.9827 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.7499, allocations: 31.97 kB / 0.9827 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.7499, allocations: 15.98 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.75, allocations: 33.64 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.246e-05/0.7501, allocations: 34.2 kB / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7501, allocations: 4 kB / 0.9828 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7501, allocations: 0 / 0.9828 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.7501, allocations: 0 / 0.9828 GB, free: 4.582 MB / 0.7325 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.000369/0.7505, allocations: 355 kB / 0.9831 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7505, allocations: 8.031 kB / 0.9831 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.7506, allocations: 30.56 kB / 0.9831 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.7506, allocations: 0 / 0.9831 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.7508, allocations: 173.9 kB / 0.9833 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.7508, allocations: 8 kB / 0.9833 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.7508, allocations: 0 / 0.9833 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.7509, allocations: 51.31 kB / 0.9834 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.7509, allocations: 0 / 0.9834 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.7509, allocations: 3.984 kB / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.7509, allocations: 0 / 0.9834 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/0.751, allocations: 7.984 kB / 0.9834 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.7512, allocations: 174.4 kB / 0.9835 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.085e-05/0.7512, allocations: 49.16 kB / 0.9836 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.7513, allocations: 17.77 kB / 0.9836 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.7513, allocations: 0 / 0.9836 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.7513, allocations: 34.56 kB / 0.9836 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.7513, allocations: 3.938 kB / 0.9836 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001468/0.7515, allocations: 61.48 kB / 0.9837 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.7515, allocations: 81.05 kB / 0.9838 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.7517, allocations: 137.8 kB / 0.9839 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.7517, allocations: 25.7 kB / 0.9839 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.7517, allocations: 84.05 kB / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.7517, allocations: 11.84 kB / 0.984 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.7518, allocations: 4 kB / 0.984 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7519, allocations: 319.1 kB / 0.9843 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.7519, allocations: 24 kB / 0.9844 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.877e-05/0.752, allocations: 23.98 kB / 0.9844 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.752, allocations: 31.98 kB / 0.9844 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.752, allocations: 0 / 0.9844 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001203/0.7521, allocations: 96.42 kB / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.7522, allocations: 7.938 kB / 0.9845 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.7522, allocations: 4 kB / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.7522, allocations: 7.953 kB / 0.9845 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.7523, allocations: 3.938 kB / 0.9845 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.7523, allocations: 8 kB / 0.9845 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.7523, allocations: 3.906 kB / 0.9845 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.7523, allocations: 0 / 0.9845 GB, free: 2.516 MB / 0.7325 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 8.426e-05/0.7524, allocations: 117.8 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.7524, allocations: 7.906 kB / 0.9847 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.7524, allocations: 7.531 kB / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.7525, allocations: 0 / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7525, allocations: 7.953 kB / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.7525, allocations: 0 / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.7526, allocations: 161.7 kB / 0.9848 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.7526, allocations: 0 / 0.9848 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.7526, allocations: 4 kB / 0.9848 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7526, allocations: 0 / 0.9848 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.7526, allocations: 3.984 kB / 0.9848 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7526, allocations: 0 / 0.9848 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7526, allocations: 0 / 0.9848 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.189e-05/0.7527, allocations: 85.78 kB / 0.9849 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.7528, allocations: 81.11 kB / 0.985 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.7528, allocations: 0 / 0.985 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.918e-05/0.7528, allocations: 4 kB / 0.985 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.7528, allocations: 0 / 0.985 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.7529, allocations: 7.953 kB / 0.985 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.7529, allocations: 99.25 kB / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7529, allocations: 0 / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000217/0.7531, allocations: 16 kB / 0.9851 GB, free: 1.824 MB / 0.7325 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.0004206/0.7536, allocations: 0.6327 MB / 0.9857 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.7537, allocations: 77.67 kB / 0.9858 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7537, allocations: 0 / 0.9858 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.176e-05/0.7538, allocations: 8.031 kB / 0.9858 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.7539, allocations: 13.52 kB / 0.9858 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.7546, allocations: 486.3 kB / 0.9863 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.7549, allocations: 0.6887 MB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.836e-05/0.7549, allocations: 0 / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.7549, allocations: 13 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.7549, allocations: 0 / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.7664, allocations: 1.505 MB / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.7666, allocations: 262.2 kB / 0.9887 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.401, allocations: 0 / 0.9887 GB, free: 14.19 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat does not exist to compare? outputFormat=mat