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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009122, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0007927/0.0007927, allocations: 172.7 kB / 15.95 MB, free: 208 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.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001717, allocations: 266.1 kB / 291.3 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9783/0.9783, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004356, allocations: 15.31 kB / 0.598 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1859, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.001543/0.1874, allocations: 1.183 MB / 0.6856 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000895/0.1884, allocations: 418.8 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.1884, allocations: 0 / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.469e-05/0.1885, allocations: 3.938 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.1886, allocations: 27.78 kB / 0.6861 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.1892, allocations: 212.3 kB / 0.6863 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.1895, allocations: 256.1 kB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.111e-05/0.1896, allocations: 8.484 kB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.1899, allocations: 228.4 kB / 0.6867 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.1902, allocations: 141.5 kB / 0.6869 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.1902, allocations: 8 kB / 0.6869 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.627e-05/0.1903, allocations: 12 kB / 0.6869 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1904, allocations: 79.78 kB / 0.687 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.617e-05/0.1905, allocations: 69.58 kB / 0.687 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1907, allocations: 204.8 kB / 0.6872 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1907, allocations: 0 / 0.6872 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1907, allocations: 0 / 0.6872 GB, free: 12.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1907, allocations: 3.438 kB / 0.6872 GB, free: 12.66 MB / 494.1 MB 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.0008076/0.1915, allocations: 0.6565 MB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1916, allocations: 12.03 kB / 0.6879 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.1917, allocations: 31.67 kB / 0.6879 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1919, allocations: 254.5 kB / 0.6881 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.192, allocations: 15.98 kB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.192, allocations: 16.62 kB / 0.6882 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/0.1928, allocations: 217.1 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1928, allocations: 0 / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.1929, allocations: 7.969 kB / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1929, allocations: 1.188 kB / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/0.1935, allocations: 115.7 kB / 0.6885 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.1938, allocations: 317.4 kB / 0.6888 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.1947, allocations: 189.8 kB / 0.689 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.1953, allocations: 115.6 kB / 0.6891 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1953, allocations: 4.719 kB / 0.6891 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007658/0.1961, allocations: 228.8 kB / 0.6893 GB, free: 10.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.1961, allocations: 1.062 kB / 0.6893 GB, free: 10.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002032/0.1982, allocations: 482 kB / 0.6898 GB, free: 9.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1982, allocations: 59.39 kB / 0.6898 GB, free: 9.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.1985, allocations: 290.9 kB / 0.6901 GB, free: 9.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.1985, allocations: 33.7 kB / 0.6901 GB, free: 9.445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.1986, allocations: 97.12 kB / 0.6902 GB, free: 9.348 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.1986, allocations: 47.39 kB / 0.6903 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.1987, allocations: 11.98 kB / 0.6903 GB, free: 9.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1988, allocations: 322.8 kB / 0.6906 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.199, allocations: 83.94 kB / 0.6907 GB, free: 8.883 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.1992, allocations: 135.8 kB / 0.6908 GB, free: 8.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.1994, allocations: 153.1 kB / 0.691 GB, free: 8.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1994, allocations: 4 kB / 0.691 GB, free: 8.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005611/0.1999, allocations: 388.6 kB / 0.6913 GB, free: 8.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/0.2, allocations: 73.73 kB / 0.6914 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2, allocations: 4.188 kB / 0.6914 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2001, allocations: 8 kB / 0.6914 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.2002, allocations: 19.98 kB / 0.6914 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.2002, allocations: 11.92 kB / 0.6914 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.2006, allocations: 59.81 kB / 0.6915 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.2007, allocations: 43.98 kB / 0.6915 GB, free: 7.941 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001627/0.2009, allocations: 168 kB / 0.6917 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.2009, allocations: 23.72 kB / 0.6917 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.201, allocations: 30.23 kB / 0.6918 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.201, allocations: 4 kB / 0.6918 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.201, allocations: 0 / 0.6918 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.201, allocations: 0 / 0.6918 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.2027, allocations: 0.7226 MB / 0.6925 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2028, allocations: 0 / 0.6925 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.2028, allocations: 7.938 kB / 0.6925 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2028, allocations: 0 / 0.6925 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.2028, allocations: 15.97 kB / 0.6925 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2029, allocations: 4 kB / 0.6925 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2029, allocations: 0 / 0.6925 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2042, allocations: 474.9 kB / 0.6929 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.2044, allocations: 160.6 kB / 0.6931 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.2045, allocations: 8 kB / 0.6931 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.2049, allocations: 39.95 kB / 0.6931 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.2049, allocations: 11.98 kB / 0.6932 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.205, allocations: 43.92 kB / 0.6932 GB, free: 6.145 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.2051, allocations: 209.9 kB / 0.6934 GB, free: 5.941 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2051, allocations: 0 / 0.6934 GB, free: 5.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.2054, allocations: 48 kB / 0.6934 GB, free: 5.895 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001307/0.2056, allocations: 117 kB / 0.6936 GB, free: 5.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009948/0.2066, allocations: 392.3 kB / 0.6939 GB, free: 5.363 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2066, allocations: 0 / 0.6939 GB, free: 5.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006367/0.2072, allocations: 132.2 kB / 0.6941 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.2076, allocations: 26.31 kB / 0.6941 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.2087, allocations: 0.4939 MB / 0.6946 GB, free: 4.695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.209, allocations: 0.7399 MB / 0.6953 GB, free: 3.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.2091, allocations: 13.08 kB / 0.6953 GB, free: 3.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.2091, allocations: 15.44 kB / 0.6953 GB, free: 3.902 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2091, allocations: 4 kB / 0.6953 GB, free: 3.898 MB / 494.1 MB Notification: Performance of Templates: time 0.006061/0.2152, allocations: 3.505 MB / 0.6987 GB, free: 436 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)