Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004779/0.00478, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.00114/0.00114, allocations: 194.4 kB / 16.67 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.1 MB / 222.6 MB, free: 4.258 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1772, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002192/0.1794, allocations: 1.497 MB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.1803, allocations: 426.3 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.1804, allocations: 0 / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.517e-05/0.1805, allocations: 3.938 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.605e-05/0.1806, allocations: 24.22 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.1812, allocations: 246 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.1815, allocations: 319.5 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.1815, allocations: 8 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.1818, allocations: 191.7 kB / 0.8306 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.182, allocations: 112.1 kB / 0.8307 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.182, allocations: 16 kB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.1821, allocations: 20 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1822, allocations: 79.72 kB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1823, allocations: 123.4 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.1826, allocations: 279.1 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1826, allocations: 0 / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1826, allocations: 0 / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1826, allocations: 0 / 0.8312 GB, free: 12.89 MB / 0.6544 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.001045/0.1837, allocations: 0.7038 MB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.1837, allocations: 8.031 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.93e-05/0.1838, allocations: 32.66 kB / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1841, allocations: 263.6 kB / 0.8322 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.1841, allocations: 4.375 kB / 0.8322 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.1842, allocations: 31.91 kB / 0.8322 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.1844, allocations: 145.5 kB / 0.8324 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1844, allocations: 0 / 0.8324 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.1845, allocations: 8 kB / 0.8324 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1845, allocations: 4 kB / 0.8324 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1846, allocations: 43.97 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.1849, allocations: 321.2 kB / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1852, allocations: 134.6 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.1853, allocations: 60.34 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1853, allocations: 3.984 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.1857, allocations: 211.6 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.1857, allocations: 4 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005475/0.1863, allocations: 277 kB / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.1864, allocations: 59.41 kB / 0.8335 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.1866, allocations: 287 kB / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.1867, allocations: 41.69 kB / 0.8338 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.1867, allocations: 89.14 kB / 0.8339 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.1868, allocations: 47.44 kB / 0.8339 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1869, allocations: 105.6 kB / 0.834 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1871, allocations: 326.8 kB / 0.8343 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.1873, allocations: 92.17 kB / 0.8344 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1875, allocations: 146.4 kB / 0.8345 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1878, allocations: 247.6 kB / 0.8348 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1878, allocations: 0 / 0.8348 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005939/0.1884, allocations: 404.7 kB / 0.8352 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.1885, allocations: 75.58 kB / 0.8352 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1885, allocations: 0 / 0.8352 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1885, allocations: 4 kB / 0.8352 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1887, allocations: 31.91 kB / 0.8353 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1887, allocations: 4 kB / 0.8353 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.1891, allocations: 59.8 kB / 0.8353 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/0.1892, allocations: 47.98 kB / 0.8354 GB, free: 8.316 MB / 0.6544 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.1893, allocations: 180.5 kB / 0.8356 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.1894, allocations: 31.56 kB / 0.8356 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.1894, allocations: 26.25 kB / 0.8356 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1895, allocations: 7.938 kB / 0.8356 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1895, allocations: 0 / 0.8356 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1895, allocations: 0 / 0.8356 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007043/0.1902, allocations: 0.5673 MB / 0.8362 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1902, allocations: 8 kB / 0.8362 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.1902, allocations: 7.984 kB / 0.8362 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1902, allocations: 0 / 0.8362 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.1903, allocations: 15.98 kB / 0.8362 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1903, allocations: 3.938 kB / 0.8362 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1903, allocations: 0 / 0.8362 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1907, allocations: 323 kB / 0.8365 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.1908, allocations: 152.7 kB / 0.8367 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.1909, allocations: 19.92 kB / 0.8367 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.1911, allocations: 11.98 kB / 0.8367 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.1911, allocations: 11.98 kB / 0.8367 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.1912, allocations: 31.98 kB / 0.8367 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000167/0.1914, allocations: 209.9 kB / 0.8369 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1914, allocations: 0 / 0.8369 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002751/0.1916, allocations: 48 kB / 0.837 GB, free: 6.586 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001168/0.1918, allocations: 129.5 kB / 0.8371 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.1922, allocations: 341.7 kB / 0.8374 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1923, allocations: 4 kB / 0.8374 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.1924, allocations: 71.81 kB / 0.8375 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1927, allocations: 24.86 kB / 0.8375 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1933, allocations: 384.2 kB / 0.8379 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.1935, allocations: 0.7393 MB / 0.8386 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.689e-05/0.1936, allocations: 45.36 kB / 0.8387 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/0.1937, allocations: 35.42 kB / 0.8387 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.1937, allocations: 3.938 kB / 0.8387 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of Templates: time 0.006632/0.2004, allocations: 4.086 MB / 0.8427 GB, free: 0.6797 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)