Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.001303/0.001303, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001602/0.001602, allocations: 177.3 kB / 15.94 MB, free: 228 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.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.336 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.422/2.422, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003761, allocations: 12 kB / 0.8147 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7203, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006105/0.721, allocations: 276.5 kB / 0.9539 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006966/0.7217, allocations: 0.7596 MB / 0.9546 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.312e-05/0.7217, allocations: 0 / 0.9546 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.049e-05/0.7217, allocations: 0 / 0.9546 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.411e-06/0.7218, allocations: 1.188 kB / 0.9546 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.722, allocations: 24 kB / 0.9547 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.439e-05/0.722, allocations: 5.469 kB / 0.9547 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.7221, allocations: 0 / 0.9547 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.384e-05/0.7221, allocations: 1.312 kB / 0.9547 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.7222, allocations: 18.47 kB / 0.9547 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.565e-06/0.7222, allocations: 1.531 kB / 0.9547 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-06/0.7222, allocations: 0 / 0.9547 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.7223, allocations: 0 / 0.9547 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.7223, allocations: 25.7 kB / 0.9547 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 2.393e-05/0.7223, allocations: 8 kB / 0.9547 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.7223, allocations: 1 kB / 0.9547 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7223, allocations: 0 / 0.9547 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.7223, allocations: 0 / 0.9547 GB, free: 7.199 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002018/0.7225, allocations: 306.2 kB / 0.955 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.7226, allocations: 9.125 kB / 0.955 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.57e-05/0.7226, allocations: 30.56 kB / 0.955 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.948e-05/0.7227, allocations: 3.953 kB / 0.9551 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.372e-05/0.7227, allocations: 163.1 kB / 0.9552 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.7227, allocations: 5.469 kB / 0.9552 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.7227, allocations: 0 / 0.9552 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.541e-05/0.7228, allocations: 30.95 kB / 0.9552 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7228, allocations: 1.5 kB / 0.9552 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.7229, allocations: 3.938 kB / 0.9552 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.7229, allocations: 0 / 0.9552 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.7229, allocations: 9.359 kB / 0.9553 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.7231, allocations: 382.1 kB / 0.9556 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.682e-05/0.7232, allocations: 170.5 kB / 0.9558 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.7232, allocations: 79.28 kB / 0.9559 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.7232, allocations: 107.4 kB / 0.956 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.7232, allocations: 0 / 0.956 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.784e-05/0.7233, allocations: 33.59 kB / 0.956 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.7233, allocations: 131.7 kB / 0.9561 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.7234, allocations: 95 kB / 0.9562 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-06/0.7234, allocations: 27.02 kB / 0.9562 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.963e-05/0.7234, allocations: 84.05 kB / 0.9563 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.7234, allocations: 0 / 0.9563 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-06/0.7235, allocations: 1.406 kB / 0.9563 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.7235, allocations: 314.8 kB / 0.9566 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-06/0.7235, allocations: 9.469 kB / 0.9566 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-06/0.7235, allocations: 0 / 0.9566 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.376e-05/0.7235, allocations: 1.531 kB / 0.9566 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.7235, allocations: 0 / 0.9566 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.027e-05/0.7236, allocations: 31.14 kB / 0.9567 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7237, allocations: 5.656 kB / 0.9567 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.7237, allocations: 0 / 0.9567 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7237, allocations: 0 / 0.9567 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.7237, allocations: 9.344 kB / 0.9567 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.7237, allocations: 1.344 kB / 0.9567 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.079e-05/0.7238, allocations: 4 kB / 0.9567 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.7238, allocations: 5.328 kB / 0.9567 GB, free: 5.004 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 7.02e-05/0.7238, allocations: 182.3 kB / 0.9569 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.7239, allocations: 110.3 kB / 0.957 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.7239, allocations: 107.9 kB / 0.9571 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.7239, allocations: 185.9 kB / 0.9572 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.637e-05/0.724, allocations: 189.6 kB / 0.9574 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.724, allocations: 176.3 kB / 0.9576 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.7241, allocations: 403.5 kB / 0.958 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/0.7242, allocations: 106.4 kB / 0.9581 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/0.7242, allocations: 106 kB / 0.9582 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-05/0.7242, allocations: 181.4 kB / 0.9584 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.7243, allocations: 177.6 kB / 0.9585 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.448e-05/0.7243, allocations: 181.2 kB / 0.9587 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-05/0.7243, allocations: 181.5 kB / 0.9589 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.467e-05/0.7244, allocations: 310.2 kB / 0.9592 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.7244, allocations: 183 kB / 0.9593 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.7245, allocations: 186.5 kB / 0.9595 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.7245, allocations: 108.9 kB / 0.9596 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.7246, allocations: 182 kB / 0.9598 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.7246, allocations: 106.5 kB / 0.9599 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.563e-05/0.7246, allocations: 80.62 kB / 0.96 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7246, allocations: 0 / 0.96 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001991/0.7248, allocations: 3.953 kB / 0.96 GB, free: 1.43 MB / 0.7169 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 (0): * Single equations (assignments): 0 * 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.0002033/0.725, allocations: 0.8177 MB / 0.9608 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.564e-05/0.7251, allocations: 6.781 kB / 0.9608 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7251, allocations: 0 / 0.9608 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.7251, allocations: 0 / 0.9608 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.7252, allocations: 0.5198 MB / 0.9613 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.7255, allocations: 183.1 kB / 0.9615 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.7258, allocations: 0.6744 MB / 0.9621 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.118e-05/0.7258, allocations: 1.281 kB / 0.9621 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.7258, allocations: 7.438 kB / 0.9621 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7259, allocations: 0 / 0.9621 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01007/0.7359, allocations: 0.7479 MB / 0.9629 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003738/0.7364, allocations: 256.7 kB / 0.9631 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.395, allocations: 2.031 kB / 0.9631 GB, free: 14.55 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat does not exist to compare? outputFormat=mat