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.0007741/0.0007741, allocations: 86.72 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.0008198/0.0008199, 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.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.391 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.305/2.305, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 8 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6442, allocations: 142.3 MB / 0.9539 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0005954/0.6448, allocations: 270.8 kB / 0.9542 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006864/0.6455, allocations: 0.7711 MB / 0.9549 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.24e-05/0.6456, allocations: 0 / 0.9549 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.017e-06/0.6456, allocations: 0 / 0.9549 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-06/0.6456, allocations: 1.156 kB / 0.9549 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.6458, allocations: 16.75 kB / 0.9549 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.528e-05/0.6458, allocations: 1.344 kB / 0.9549 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.6459, allocations: 0 / 0.9549 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.243e-05/0.6459, allocations: 4.906 kB / 0.9549 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.646, allocations: 23.91 kB / 0.9549 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-06/0.646, allocations: 0 / 0.9549 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.417e-06/0.6461, allocations: 0 / 0.9549 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.6461, allocations: 1.188 kB / 0.955 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.6461, allocations: 29.7 kB / 0.955 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 2.259e-05/0.6461, allocations: 0 / 0.955 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6461, allocations: 13.08 kB / 0.955 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6461, allocations: 0 / 0.955 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.6461, allocations: 0 / 0.955 GB, free: 7.219 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.0001599/0.6463, allocations: 304.8 kB / 0.9553 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.6464, allocations: 9.938 kB / 0.9553 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.6464, allocations: 30.56 kB / 0.9553 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.828e-05/0.6464, allocations: 4.953 kB / 0.9553 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.723e-05/0.6465, allocations: 159.1 kB / 0.9555 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.6465, allocations: 1.375 kB / 0.9555 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-06/0.6465, allocations: 0 / 0.9555 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.528e-05/0.6466, allocations: 34.88 kB / 0.9555 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.6466, allocations: 1.312 kB / 0.9555 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.6466, allocations: 0 / 0.9555 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6466, allocations: 4 kB / 0.9555 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.622e-05/0.6466, allocations: 9.297 kB / 0.9555 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.6468, allocations: 373.9 kB / 0.9559 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.568e-05/0.6468, allocations: 174.7 kB / 0.956 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.6469, allocations: 84.12 kB / 0.9561 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.6469, allocations: 75.28 kB / 0.9562 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.6469, allocations: 110.6 kB / 0.9563 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6469, allocations: 1.188 kB / 0.9563 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.11e-05/0.647, allocations: 29.66 kB / 0.9563 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.647, allocations: 131.8 kB / 0.9565 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.6471, allocations: 91.36 kB / 0.9565 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.6471, allocations: 25.7 kB / 0.9566 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.6471, allocations: 89.2 kB / 0.9567 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.6471, allocations: 0 / 0.9567 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.6471, allocations: 0 / 0.9567 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.6472, allocations: 315.9 kB / 0.957 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.6472, allocations: 9.234 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-06/0.6472, allocations: 1.406 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.476e-05/0.6472, allocations: 5.344 kB / 0.957 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6472, allocations: 0 / 0.957 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.178e-05/0.6473, allocations: 29.67 kB / 0.957 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6473, allocations: 6.594 kB / 0.957 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.6473, allocations: 0 / 0.957 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.6473, allocations: 9.203 kB / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.6474, allocations: 1.562 kB / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6474, allocations: 8.078 kB / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.052e-05/0.6474, allocations: 0 / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.6474, allocations: 1.406 kB / 0.957 GB, free: 4.945 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 5.282e-05/0.6475, allocations: 190.6 kB / 0.9572 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.6475, allocations: 110.4 kB / 0.9573 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.6475, allocations: 111.9 kB / 0.9574 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.6476, allocations: 177.7 kB / 0.9576 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-05/0.6476, allocations: 189.7 kB / 0.9578 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/0.6476, allocations: 180.2 kB / 0.9579 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.6478, allocations: 402.6 kB / 0.9583 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.6478, allocations: 103.7 kB / 0.9584 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.6478, allocations: 102.5 kB / 0.9585 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/0.6478, allocations: 188.2 kB / 0.9587 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.6479, allocations: 177.4 kB / 0.9589 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.397e-05/0.6479, allocations: 184.9 kB / 0.959 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.121e-05/0.6479, allocations: 177.4 kB / 0.9592 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.926e-05/0.648, allocations: 312 kB / 0.9595 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.648, allocations: 183.4 kB / 0.9597 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.6481, allocations: 181.7 kB / 0.9599 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.6481, allocations: 101.3 kB / 0.96 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.6481, allocations: 189.7 kB / 0.9601 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.6482, allocations: 102.4 kB / 0.9602 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.685e-05/0.6482, allocations: 83.23 kB / 0.9603 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6482, allocations: 0 / 0.9603 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000201/0.6484, allocations: 0.8438 kB / 0.9603 GB, free: 1.371 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.0002213/0.6486, allocations: 0.819 MB / 0.9611 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.597e-05/0.6487, allocations: 6.906 kB / 0.9611 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6487, allocations: 0 / 0.9611 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.6487, allocations: 0 / 0.9611 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.6489, allocations: 0.5264 MB / 0.9616 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.6492, allocations: 180.3 kB / 0.9618 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.6495, allocations: 0.6741 MB / 0.9625 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.081e-05/0.6495, allocations: 0 / 0.9625 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.6495, allocations: 8.562 kB / 0.9625 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.823e-06/0.6495, allocations: 0 / 0.9625 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01025/0.6598, allocations: 0.7566 MB / 0.9632 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.66, allocations: 266.7 kB / 0.9635 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.272, allocations: 2.594 kB / 0.9635 GB, free: 14.48 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