Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.ShiftAggregationCells,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",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.001109/0.001109, 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.001443/0.001443, 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.335/1.335, allocations: 223.2 MB / 240 MB, free: 5.41 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.357/2.357, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003476, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.657/0.6574, allocations: 142.3 MB / 0.9539 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001405/0.6588, allocations: 0.9702 MB / 0.9548 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008075/0.6596, allocations: 450.9 kB / 0.9553 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.6597, allocations: 1.156 kB / 0.9553 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.6597, allocations: 0 / 0.9553 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.6598, allocations: 1.219 kB / 0.9553 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.6601, allocations: 48.06 kB / 0.9553 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.6602, allocations: 20.7 kB / 0.9553 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.6603, allocations: 0 / 0.9553 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.6603, allocations: 9.141 kB / 0.9554 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.6603, allocations: 9.422 kB / 0.9554 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.6604, allocations: 1.5 kB / 0.9554 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.6605, allocations: 42.36 kB / 0.9554 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.6606, allocations: 6.031 kB / 0.9554 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.6606, allocations: 31.88 kB / 0.9554 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.6607, allocations: 36.7 kB / 0.9555 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6607, allocations: 0 / 0.9555 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.856e-06/0.6607, allocations: 0 / 0.9555 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.6608, allocations: 4 kB / 0.9555 GB, free: 6.918 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002867/0.6611, allocations: 332.5 kB / 0.9558 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.6611, allocations: 12.61 kB / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.6612, allocations: 35.97 kB / 0.9558 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.6612, allocations: 5.234 kB / 0.9558 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.644e-05/0.6613, allocations: 168.2 kB / 0.956 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.6613, allocations: 1.469 kB / 0.956 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.6613, allocations: 1.312 kB / 0.956 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.6614, allocations: 52.19 kB / 0.9561 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.6614, allocations: 0 / 0.9561 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.6614, allocations: 1.031 kB / 0.9561 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.6614, allocations: 3.984 kB / 0.9561 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.6615, allocations: 19.98 kB / 0.9561 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.6616, allocations: 152.9 kB / 0.9562 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.6617, allocations: 27.73 kB / 0.9563 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.6617, allocations: 21.12 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.6617, allocations: 7.984 kB / 0.9563 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.6618, allocations: 61.66 kB / 0.9563 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.6619, allocations: 0 / 0.9563 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.6621, allocations: 99.27 kB / 0.9564 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.6621, allocations: 55.88 kB / 0.9565 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.404e-05/0.6621, allocations: 102.9 kB / 0.9566 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.6622, allocations: 27.89 kB / 0.9566 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.466e-05/0.6622, allocations: 89.14 kB / 0.9567 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.6622, allocations: 14.8 kB / 0.9567 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.6622, allocations: 4.969 kB / 0.9567 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.6623, allocations: 316 kB / 0.957 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.6623, allocations: 20.83 kB / 0.957 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.6624, allocations: 62.69 kB / 0.9571 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.844e-05/0.6625, allocations: 37.33 kB / 0.9571 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6625, allocations: 5.031 kB / 0.9571 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001581/0.6626, allocations: 114.1 kB / 0.9572 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6627, allocations: 5.5 kB / 0.9573 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6627, allocations: 1.281 kB / 0.9573 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6627, allocations: 3.406 kB / 0.9573 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.6628, allocations: 21.56 kB / 0.9573 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.6628, allocations: 2.906 kB / 0.9573 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.6628, allocations: 17.66 kB / 0.9573 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.6629, allocations: 4.594 kB / 0.9573 GB, free: 5.066 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.396e-05/0.663, allocations: 127.7 kB / 0.9574 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-06/0.663, allocations: 0 / 0.9574 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.663, allocations: 9.094 kB / 0.9574 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.663, allocations: 0 / 0.9574 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.663, allocations: 1.188 kB / 0.9574 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.663, allocations: 3.984 kB / 0.9574 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.793e-05/0.6631, allocations: 153.2 kB / 0.9576 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6631, allocations: 0 / 0.9576 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-06/0.6631, allocations: 1.219 kB / 0.9576 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6631, allocations: 3.984 kB / 0.9576 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.6631, allocations: 1.156 kB / 0.9576 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.6632, allocations: 5.219 kB / 0.9576 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6632, allocations: 0 / 0.9576 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.6633, allocations: 106.6 kB / 0.9577 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.6633, allocations: 82.42 kB / 0.9578 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.6633, allocations: 3.531 kB / 0.9578 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.31e-05/0.6634, allocations: 0.6562 kB / 0.9578 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.6634, allocations: 1.438 kB / 0.9578 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.6634, allocations: 7.031 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.333e-05/0.6634, allocations: 83.25 kB / 0.9579 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6634, allocations: 0 / 0.9579 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000242/0.6637, allocations: 30.64 kB / 0.9579 GB, free: 4.441 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: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004052/0.6641, allocations: 0.6631 MB / 0.9585 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.6642, allocations: 63.34 kB / 0.9586 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6642, allocations: 0 / 0.9586 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.6643, allocations: 23.14 kB / 0.9586 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.6644, allocations: 1.156 kB / 0.9586 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.6648, allocations: 152 kB / 0.9588 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.6649, allocations: 0.6835 MB / 0.9594 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.665, allocations: 7.688 kB / 0.9594 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.665, allocations: 15.27 kB / 0.9595 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of SimCode: time 4.6e-07/0.665, allocations: 0 / 0.9595 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.6767, allocations: 1.377 MB / 0.9608 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.6769, allocations: 265.3 kB / 0.9611 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.288, allocations: 3 kB / 0.9611 GB, free: 1.98 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat does not exist to compare? outputFormat=mat