Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.4 MB / 303.7 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009825/0.0009826, allocations: 180.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 0.631 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000757/0.0007571, allocations: 97.08 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 10.97 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1845, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001364/0.1859, allocations: 1.187 MB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.1867, allocations: 408 kB / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.1867, allocations: 0 / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.737e-05/0.1868, allocations: 7.938 kB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.1869, allocations: 19.84 kB / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.1875, allocations: 206.7 kB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1878, allocations: 239.5 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.1878, allocations: 11.98 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.1881, allocations: 227.6 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1883, allocations: 127.7 kB / 0.9825 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.1883, allocations: 8 kB / 0.9825 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.832e-05/0.1884, allocations: 12 kB / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.1885, allocations: 83.77 kB / 0.9826 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1886, allocations: 141.1 kB / 0.9827 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.1887, allocations: 195.9 kB / 0.9829 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1887, allocations: 3.938 kB / 0.9829 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1888, allocations: 0 / 0.9829 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1888, allocations: 4 kB / 0.9829 GB, free: 24.49 MB / 0.6198 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.000912/0.1897, allocations: 0.6182 MB / 0.9835 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1897, allocations: 8.031 kB / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.1898, allocations: 36.59 kB / 0.9835 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1901, allocations: 263.5 kB / 0.9838 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.1901, allocations: 12.38 kB / 0.9838 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.1902, allocations: 20.36 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.1904, allocations: 147.7 kB / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1904, allocations: 192 / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.1905, allocations: 3.938 kB / 0.984 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1905, allocations: 4 kB / 0.984 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1906, allocations: 43.97 kB / 0.984 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.1908, allocations: 317.3 kB / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1911, allocations: 130.7 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1912, allocations: 60.83 kB / 0.9845 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1912, allocations: 0 / 0.9845 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.1916, allocations: 231.5 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.1916, allocations: 0 / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004664/0.1921, allocations: 266.7 kB / 0.985 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1921, allocations: 63.39 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1923, allocations: 290.9 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.1924, allocations: 37.7 kB / 0.9854 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.1924, allocations: 105.1 kB / 0.9855 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.1925, allocations: 39.52 kB / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1925, allocations: 8 kB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.1925, allocations: 318.8 kB / 0.9858 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.1927, allocations: 96.17 kB / 0.9859 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.1929, allocations: 146.3 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1932, allocations: 235.9 kB / 0.9863 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1933, allocations: 4 kB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006305/0.1939, allocations: 420.5 kB / 0.9867 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.194, allocations: 80.78 kB / 0.9867 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.194, allocations: 0 / 0.9867 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.194, allocations: 4 kB / 0.9867 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1942, allocations: 27.86 kB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1942, allocations: 4 kB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.1948, allocations: 79.91 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/0.1949, allocations: 55.98 kB / 0.9869 GB, free: 20.07 MB / 0.6198 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.0001527/0.1951, allocations: 164 kB / 0.9871 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.1951, allocations: 27.7 kB / 0.9871 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.1952, allocations: 34.25 kB / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1952, allocations: 7.938 kB / 0.9871 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1952, allocations: 0 / 0.9871 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1952, allocations: 7.922 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000741/0.1959, allocations: 0.5567 MB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.196, allocations: 3.938 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.196, allocations: 8 kB / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.196, allocations: 0 / 0.9877 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.1961, allocations: 15.97 kB / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1961, allocations: 4 kB / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1961, allocations: 0 / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.1965, allocations: 316.3 kB / 0.988 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.1967, allocations: 160.6 kB / 0.9882 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.1967, allocations: 8 kB / 0.9882 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.197, allocations: 11.98 kB / 0.9882 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.1971, allocations: 23.97 kB / 0.9882 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.1971, allocations: 31.92 kB / 0.9882 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001733/0.1973, allocations: 205.9 kB / 0.9884 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1973, allocations: 4 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003618/0.1977, allocations: 51.98 kB / 0.9885 GB, free: 18.34 MB / 0.6198 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.0001049/0.1978, allocations: 111 kB / 0.9886 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.1983, allocations: 340 kB / 0.9889 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1983, allocations: 8 kB / 0.9889 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1985, allocations: 71.91 kB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1989, allocations: 35.95 kB / 0.989 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.1995, allocations: 442.8 kB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.1997, allocations: 0.7504 MB / 0.9902 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001687/0.1999, allocations: 41.42 kB / 0.9902 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2, allocations: 31.42 kB / 0.9902 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.2, allocations: 0 / 0.9902 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.006436/0.2065, allocations: 3.918 MB / 0.9941 GB, free: 12.55 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)