Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8233/0.8233, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001067/0.001066, allocations: 191.4 kB / 191.5 MB, free: 5.738 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.641/1.641, allocations: 223.2 MB / 447.7 MB, free: 4.793 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.001048/0.001048, allocations: 84.34 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001947/0.001947, allocations: 286 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005338, allocations: 14.34 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2336, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6383/0.872, allocations: 110.6 MB / 0.8817 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.8723, allocations: 74.62 kB / 0.8818 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.8865, allocations: 4.486 MB / 0.8861 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8866, allocations: 4 kB / 0.8861 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.8866, allocations: 2.875 kB / 0.8861 GB, free: 108.1 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.0009041/0.8875, allocations: 0.6206 MB / 0.8867 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.8875, allocations: 10.23 kB / 0.8868 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.787e-05/0.8877, allocations: 29.73 kB / 0.8868 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.888, allocations: 250.4 kB / 0.887 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.8881, allocations: 21.33 kB / 0.887 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/0.8881, allocations: 14.97 kB / 0.8871 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.8885, allocations: 145.8 kB / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.8885, allocations: 0 / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.8885, allocations: 0.9375 kB / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.8885, allocations: 3.562 kB / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.8887, allocations: 46.17 kB / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.8891, allocations: 331.5 kB / 0.8876 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.8894, allocations: 133.3 kB / 0.8877 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.8895, allocations: 5.047 kB / 0.8877 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005222/0.89, allocations: 220.5 kB / 0.8879 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.89, allocations: 0 / 0.8879 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.0006722/0.8907, allocations: 266.1 kB / 0.8882 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.8908, allocations: 63.77 kB / 0.8882 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.8911, allocations: 249.9 kB / 0.8885 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.8912, allocations: 42.12 kB / 0.8885 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.8912, allocations: 91.45 kB / 0.8886 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/0.8913, allocations: 46.94 kB / 0.8886 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.8914, allocations: 9.781 kB / 0.8886 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8915, allocations: 321 kB / 0.8889 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.8918, allocations: 107.9 kB / 0.889 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.8921, allocations: 163 kB / 0.8892 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.8924, allocations: 153.9 kB / 0.8893 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8924, allocations: 0 / 0.8893 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008245/0.8932, allocations: 420.9 kB / 0.8898 GB, free: 106 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/0.8933, allocations: 79.94 kB / 0.8898 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.8933, allocations: 2.438 kB / 0.8898 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.8934, allocations: 7.422 kB / 0.8898 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.8936, allocations: 30.36 kB / 0.8899 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.8936, allocations: 7.484 kB / 0.8899 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.894, allocations: 50.55 kB / 0.8899 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.8941, allocations: 51.55 kB / 0.89 GB, free: 106 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.0001848/0.8942, allocations: 174.8 kB / 0.8901 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.8943, allocations: 27.91 kB / 0.8902 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.8944, allocations: 31.92 kB / 0.8902 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8944, allocations: 6.359 kB / 0.8902 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.8944, allocations: 0.6562 kB / 0.8902 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.8944, allocations: 0.6562 kB / 0.8902 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008341/0.8952, allocations: 0.5577 MB / 0.8907 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.8952, allocations: 0.75 kB / 0.8907 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.8953, allocations: 17.81 kB / 0.8908 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8953, allocations: 0 / 0.8908 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.8953, allocations: 18.03 kB / 0.8908 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8954, allocations: 2.938 kB / 0.8908 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8954, allocations: 0.6094 kB / 0.8908 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.8958, allocations: 310.9 kB / 0.8911 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.896, allocations: 163.4 kB / 0.8912 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.8961, allocations: 13.41 kB / 0.8912 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.8963, allocations: 19.33 kB / 0.8913 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.8964, allocations: 16.03 kB / 0.8913 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/0.8964, allocations: 28.11 kB / 0.8913 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002202/0.8967, allocations: 212.3 kB / 0.8915 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8967, allocations: 0 / 0.8915 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003648/0.897, allocations: 52.89 kB / 0.8916 GB, free: 105.1 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.0001752/0.8972, allocations: 120.3 kB / 0.8917 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006014/0.8978, allocations: 353.6 kB / 0.892 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8978, allocations: 2.531 kB / 0.892 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.898, allocations: 71.86 kB / 0.8921 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.8982, allocations: 20.77 kB / 0.8921 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.8989, allocations: 445.4 kB / 0.8925 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.8992, allocations: 0.7478 MB / 0.8933 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001358/0.8993, allocations: 41.56 kB / 0.8933 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.8994, allocations: 33.86 kB / 0.8933 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.8994, allocations: 4 kB / 0.8933 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.009035/0.9085, allocations: 4.309 MB / 0.8975 GB, free: 102.3 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)