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.001092/0.001091, allocations: 86.56 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.001327/0.001327, 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.407/1.407, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.45/2.45, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 8 kB / 0.8378 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7056, allocations: 146.8 MB / 0.9812 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001296/0.7069, allocations: 0.973 MB / 0.9821 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.7077, allocations: 449.6 kB / 0.9826 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.7077, allocations: 4 kB / 0.9826 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.7077, allocations: 0 / 0.9826 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.62e-05/0.7078, allocations: 11.94 kB / 0.9826 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.7081, allocations: 35.94 kB / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.079e-05/0.7082, allocations: 15.98 kB / 0.9826 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.7082, allocations: 0 / 0.9826 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.453e-05/0.7083, allocations: 11.92 kB / 0.9826 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.972e-05/0.7083, allocations: 11.98 kB / 0.9826 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.7083, allocations: 0 / 0.9826 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.7085, allocations: 39.95 kB / 0.9827 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.7085, allocations: 19.86 kB / 0.9827 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.7086, allocations: 29.7 kB / 0.9827 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.582e-05/0.7087, allocations: 35.95 kB / 0.9828 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.7087, allocations: 3.984 kB / 0.9828 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7087, allocations: 0 / 0.9828 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.7087, allocations: 0 / 0.9828 GB, free: 4.566 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.0003094/0.709, allocations: 333.6 kB / 0.9831 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.7091, allocations: 8.031 kB / 0.9831 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.7091, allocations: 30.56 kB / 0.9831 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.7091, allocations: 4 kB / 0.9831 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.525e-05/0.7092, allocations: 163 kB / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.7092, allocations: 4 kB / 0.9833 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.7092, allocations: 8 kB / 0.9833 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.7094, allocations: 49.58 kB / 0.9833 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.7094, allocations: 0 / 0.9833 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.7094, allocations: 7.984 kB / 0.9834 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.7094, allocations: 0 / 0.9834 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.7094, allocations: 11.98 kB / 0.9834 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.7096, allocations: 153.7 kB / 0.9835 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.703e-05/0.7096, allocations: 34.64 kB / 0.9835 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.7096, allocations: 20.94 kB / 0.9836 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.7097, allocations: 0 / 0.9836 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.7098, allocations: 71.33 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.7098, allocations: 0 / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0001981/0.71, allocations: 101.5 kB / 0.9837 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.7101, allocations: 55.41 kB / 0.9838 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.55e-05/0.7101, allocations: 97.88 kB / 0.9839 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.7101, allocations: 33.7 kB / 0.9839 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.7102, allocations: 80.14 kB / 0.984 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.7102, allocations: 19.8 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.7102, allocations: 7.875 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.7103, allocations: 318.8 kB / 0.9843 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.629e-05/0.7103, allocations: 19.98 kB / 0.9843 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.7104, allocations: 70 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.999e-05/0.7105, allocations: 31.92 kB / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7105, allocations: 0 / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001506/0.7106, allocations: 117.5 kB / 0.9845 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.7106, allocations: 9.562 kB / 0.9845 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7107, allocations: 0 / 0.9845 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7107, allocations: 7.953 kB / 0.9846 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.7108, allocations: 8 kB / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.7108, allocations: 7.984 kB / 0.9846 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.7108, allocations: 11.84 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.7108, allocations: 8.219 kB / 0.9846 GB, free: 2.453 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 8.942e-05/0.7109, allocations: 125.8 kB / 0.9847 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.7109, allocations: 0 / 0.9847 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.711, allocations: 3.969 kB / 0.9847 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.711, allocations: 3.953 kB / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.711, allocations: 3.984 kB / 0.9847 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.711, allocations: 4 kB / 0.9847 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.7111, allocations: 145.7 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7111, allocations: 0 / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-06/0.7111, allocations: 7.984 kB / 0.9849 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7111, allocations: 4 kB / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.7111, allocations: 0 / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7111, allocations: 0 / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7111, allocations: 3.953 kB / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.7113, allocations: 105 kB / 0.985 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.7113, allocations: 89.02 kB / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.7113, allocations: 4 kB / 0.9851 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.7114, allocations: 4.031 kB / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.7114, allocations: 0 / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.7114, allocations: 7.953 kB / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.243e-05/0.7114, allocations: 75.31 kB / 0.9852 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7114, allocations: 0 / 0.9852 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002158/0.7116, allocations: 27.92 kB / 0.9852 GB, free: 1.754 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.0004776/0.7121, allocations: 0.6741 MB / 0.9858 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.7123, allocations: 47.92 kB / 0.9859 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.7123, allocations: 0 / 0.9859 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.7123, allocations: 27.86 kB / 0.9859 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.7125, allocations: 5.531 kB / 0.9859 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.7129, allocations: 154.9 kB / 0.9861 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.7131, allocations: 0.677 MB / 0.9867 GB, free: 80 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.7131, allocations: 4 kB / 0.9867 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.7131, allocations: 19.42 kB / 0.9867 GB, free: 56 kB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7132, allocations: 0 / 0.9867 GB, free: 56 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.7238, allocations: 1.386 MB / 0.9881 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.724, allocations: 259.8 kB / 0.9883 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.455, allocations: 2.406 kB / 0.9883 GB, free: 14.55 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