Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.ShiftAggregationCells,fileNamePrefix="Buildings_latest_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_latest_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.001627/0.001627, allocations: 99.94 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.002275/0.002275, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.793/2.793, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.746/4.746, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000704/0.0007044, allocations: 19.98 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481/1.481, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002236/1.484, allocations: 0.9682 MB / 0.9819 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00122/1.485, allocations: 457.8 kB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/1.485, allocations: 3.938 kB / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.3e-05/1.485, allocations: 0 / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.898e-05/1.485, allocations: 0 / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/1.486, allocations: 35.89 kB / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/1.486, allocations: 11.97 kB / 0.9823 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.011e-05/1.486, allocations: 0 / 0.9823 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/1.486, allocations: 8 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.505e-05/1.486, allocations: 4 kB / 0.9824 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/1.486, allocations: 0 / 0.9824 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/1.486, allocations: 43.89 kB / 0.9824 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/1.486, allocations: 15.97 kB / 0.9824 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/1.486, allocations: 29.7 kB / 0.9824 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/1.487, allocations: 27.95 kB / 0.9825 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.487, allocations: 0 / 0.9825 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.835e-06/1.487, allocations: 0 / 0.9825 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.487, allocations: 0 / 0.9825 GB, free: 4.688 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005186/1.487, allocations: 337.6 kB / 0.9828 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.487, allocations: 8.031 kB / 0.9828 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.801e-05/1.487, allocations: 30.56 kB / 0.9828 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/1.487, allocations: 4 kB / 0.9828 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/1.488, allocations: 170.9 kB / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/1.488, allocations: 0 / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/1.488, allocations: 8 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/1.488, allocations: 45.64 kB / 0.983 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.488, allocations: 0 / 0.983 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.488, allocations: 7.938 kB / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/1.488, allocations: 0 / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.04e-05/1.488, allocations: 12 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/1.488, allocations: 153.7 kB / 0.9832 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.192e-05/1.488, allocations: 34.56 kB / 0.9832 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-06/1.488, allocations: 4.031 kB / 0.9832 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/1.488, allocations: 67.47 kB / 0.9833 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/1.488, allocations: 0 / 0.9833 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003808/1.489, allocations: 186.6 kB / 0.9835 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/1.489, allocations: 59.39 kB / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/1.489, allocations: 93.8 kB / 0.9836 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/1.489, allocations: 33.7 kB / 0.9837 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/1.489, allocations: 80.14 kB / 0.9837 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/1.489, allocations: 19.8 kB / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/1.489, allocations: 0 / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.489, allocations: 318.9 kB / 0.9841 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-05/1.489, allocations: 19.98 kB / 0.9841 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/1.49, allocations: 73.98 kB / 0.9842 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/1.49, allocations: 31.98 kB / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.49, allocations: 3.938 kB / 0.9842 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002457/1.49, allocations: 105.5 kB / 0.9843 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.49, allocations: 9.719 kB / 0.9843 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.49, allocations: 0 / 0.9843 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/1.49, allocations: 12.17 kB / 0.9843 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/1.49, allocations: 11.98 kB / 0.9843 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/1.49, allocations: 7.938 kB / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/1.49, allocations: 15.84 kB / 0.9843 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/1.49, allocations: 4 kB / 0.9843 GB, free: 2.492 MB / 0.7325 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 0.0001874/1.49, allocations: 121.8 kB / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/1.491, allocations: 0 / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/1.491, allocations: 3.969 kB / 0.9845 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.491, allocations: 4 kB / 0.9845 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.491, allocations: 3.953 kB / 0.9845 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.491, allocations: 0 / 0.9845 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/1.491, allocations: 149.7 kB / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.491, allocations: 0 / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-06/1.491, allocations: 4 kB / 0.9846 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/1.491, allocations: 4 kB / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.491, allocations: 0 / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/1.491, allocations: 3.938 kB / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.491, allocations: 0 / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/1.491, allocations: 109.3 kB / 0.9847 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/1.491, allocations: 92.95 kB / 0.9848 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/1.491, allocations: 7.984 kB / 0.9848 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/1.491, allocations: 0 / 0.9848 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/1.491, allocations: 0 / 0.9848 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/1.491, allocations: 11.92 kB / 0.9848 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.695e-05/1.491, allocations: 79.23 kB / 0.9849 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.491, allocations: 0 / 0.9849 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004019/1.492, allocations: 23.97 kB / 0.9849 GB, free: 1.789 MB / 0.7325 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.0008991/1.493, allocations: 0.671 MB / 0.9856 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001964/1.493, allocations: 52.31 kB / 0.9856 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/1.493, allocations: 4.062 kB / 0.9856 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.013e-05/1.493, allocations: 16 kB / 0.9857 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/1.493, allocations: 4 kB / 0.9857 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/1.494, allocations: 158.3 kB / 0.9858 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/1.494, allocations: 0.677 MB / 0.9865 GB, free: 116 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.55e-05/1.494, allocations: 4 kB / 0.9865 GB, free: 112 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/1.494, allocations: 19.5 kB / 0.9865 GB, free: 92 kB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/1.494, allocations: 0 / 0.9865 GB, free: 92 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/1.514, allocations: 1.373 MB / 0.9878 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003869/1.515, allocations: 252.5 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.999/4.514, allocations: 8.062 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.ShiftAggregationCells_res.mat does not exist to compare? outputFormat=mat