Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8862/0.8862, allocations: 143.3 MB / 158.3 MB, free: 5.816 MB / 122.7 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: 179.1 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 223.2 MB / 447.7 MB, free: 4.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008981/0.0008982, allocations: 96.2 kB / 0.5187 GB, free: 1.219 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 262.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004637, allocations: 14.39 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1975, allocations: 82.81 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5573/0.7548, allocations: 110.5 MB / 0.8817 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.7551, allocations: 71.62 kB / 0.8818 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01494/0.7701, allocations: 4.485 MB / 0.8861 GB, free: 108 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7702, allocations: 0 / 0.8861 GB, free: 108 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.7702, allocations: 3.312 kB / 0.8862 GB, free: 108 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001047/0.7712, allocations: 0.6231 MB / 0.8868 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.7713, allocations: 7.594 kB / 0.8868 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.7714, allocations: 40.33 kB / 0.8868 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.7715, allocations: 35.66 kB / 0.8868 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.7719, allocations: 244.4 kB / 0.8871 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.772, allocations: 23.7 kB / 0.8871 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.772, allocations: 22.55 kB / 0.8871 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.7724, allocations: 140.4 kB / 0.8873 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7725, allocations: 0 / 0.8873 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.7725, allocations: 3.5 kB / 0.8873 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.7725, allocations: 2.781 kB / 0.8873 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.7727, allocations: 44.75 kB / 0.8873 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.7732, allocations: 333.3 kB / 0.8876 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.7735, allocations: 135 kB / 0.8877 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.7735, allocations: 6.828 kB / 0.8878 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004932/0.774, allocations: 213 kB / 0.888 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.774, allocations: 0 / 0.888 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006559/0.7747, allocations: 272.9 kB / 0.8882 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.7747, allocations: 56.34 kB / 0.8883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.7751, allocations: 256 kB / 0.8885 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.7751, allocations: 38.64 kB / 0.8886 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.7752, allocations: 97.55 kB / 0.8886 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.003e-05/0.7753, allocations: 39.89 kB / 0.8887 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.7753, allocations: 8.891 kB / 0.8887 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.7754, allocations: 327.3 kB / 0.889 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.7757, allocations: 101.9 kB / 0.8891 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.7761, allocations: 154.4 kB / 0.8892 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.7764, allocations: 165.4 kB / 0.8894 GB, free: 106 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7764, allocations: 0 / 0.8894 GB, free: 106 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008602/0.7773, allocations: 423.8 kB / 0.8898 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.97e-05/0.7773, allocations: 75.02 kB / 0.8899 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7774, allocations: 6.906 kB / 0.8899 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.7774, allocations: 2.969 kB / 0.8899 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.7776, allocations: 28.75 kB / 0.8899 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.7776, allocations: 3.609 kB / 0.8899 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.778, allocations: 49.28 kB / 0.89 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.15e-05/0.7781, allocations: 60.97 kB / 0.89 GB, free: 105.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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.0001915/0.7783, allocations: 171.5 kB / 0.8902 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.7783, allocations: 30.2 kB / 0.8902 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.7784, allocations: 29.53 kB / 0.8902 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7784, allocations: 2.594 kB / 0.8902 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.7784, allocations: 0.7031 kB / 0.8903 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.7784, allocations: 0.75 kB / 0.8903 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008361/0.7793, allocations: 0.5638 MB / 0.8908 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.7793, allocations: 0 / 0.8908 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.7793, allocations: 7.547 kB / 0.8908 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.7794, allocations: 3.062 kB / 0.8908 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.7794, allocations: 11.12 kB / 0.8908 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.7794, allocations: 0.7031 kB / 0.8908 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7794, allocations: 0 / 0.8908 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.7798, allocations: 321.6 kB / 0.8911 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.78, allocations: 171.2 kB / 0.8913 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.7801, allocations: 8.281 kB / 0.8913 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.7803, allocations: 7.797 kB / 0.8913 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.7804, allocations: 14.88 kB / 0.8913 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.7804, allocations: 38.52 kB / 0.8914 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001865/0.7806, allocations: 206 kB / 0.8916 GB, free: 105 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7806, allocations: 0 / 0.8916 GB, free: 105 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003383/0.781, allocations: 53.14 kB / 0.8916 GB, free: 105 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0006234/0.7816, allocations: 0.8825 MB / 0.8925 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005755/0.7822, allocations: 352.3 kB / 0.8928 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7822, allocations: 0 / 0.8928 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.7823, allocations: 76.39 kB / 0.8929 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.7826, allocations: 25.89 kB / 0.8929 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.7837, allocations: 1.597 MB / 0.8945 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.7839, allocations: 0.7476 MB / 0.8952 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.7841, allocations: 38.11 kB / 0.8952 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.7842, allocations: 45.47 kB / 0.8953 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.5e-07/0.7842, allocations: 3.938 kB / 0.8953 GB, free: 102 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.8037, allocations: 5.369 MB / 0.9005 GB, free: 99.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/0.8041, allocations: 190.5 kB / 0.9007 GB, free: 99.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.606, allocations: 3.938 kB / 0.9007 GB, free: 99.7 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)