Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.00593/0.00593, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001356/0.001356, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.223/1.223, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.36/1.36, allocations: 251.7 MB / 0.5094 GB, free: 3.105 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.001289/0.001289, allocations: 63.91 kB / 0.7257 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1786, allocations: 104.7 MB / 0.828 GB, free: 268 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00224/0.1809, allocations: 1.485 MB / 0.8295 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008415/0.1818, allocations: 423.3 kB / 0.8299 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.1818, allocations: 0 / 0.8299 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.748e-05/0.1819, allocations: 7.922 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.814e-05/0.182, allocations: 24.17 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.1826, allocations: 243.5 kB / 0.8301 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.183, allocations: 315.5 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.183, allocations: 4 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.1833, allocations: 191.7 kB / 0.8306 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.1835, allocations: 108 kB / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.1836, allocations: 23.94 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.1836, allocations: 20 kB / 0.8308 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.1837, allocations: 83.7 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1839, allocations: 127.3 kB / 0.831 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.1841, allocations: 275.1 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1842, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1842, allocations: 0 / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1842, allocations: 0 / 0.8312 GB, free: 12.95 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.001066/0.1852, allocations: 0.6999 MB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.1853, allocations: 12.03 kB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.1854, allocations: 32.64 kB / 0.832 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1857, allocations: 263.6 kB / 0.8322 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1857, allocations: 12.36 kB / 0.8322 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.1858, allocations: 23.94 kB / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.186, allocations: 148.5 kB / 0.8324 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1861, allocations: 0 / 0.8324 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.1861, allocations: 4 kB / 0.8324 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1861, allocations: 0 / 0.8324 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.1862, allocations: 51.97 kB / 0.8324 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.1865, allocations: 313.3 kB / 0.8327 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1868, allocations: 138.6 kB / 0.8329 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1869, allocations: 56.83 kB / 0.8329 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.187, allocations: 4 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003619/0.1873, allocations: 211.6 kB / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 2.645e-06/0.1873, allocations: 0 / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005271/0.1879, allocations: 279.8 kB / 0.8334 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1879, allocations: 63.41 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.1882, allocations: 287 kB / 0.8337 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.1882, allocations: 37.69 kB / 0.8338 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.1883, allocations: 97.12 kB / 0.8339 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.1884, allocations: 35.52 kB / 0.8339 GB, free: 10 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.1885, allocations: 113.5 kB / 0.834 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1886, allocations: 326.8 kB / 0.8343 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1888, allocations: 84.19 kB / 0.8344 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.189, allocations: 154.3 kB / 0.8345 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.1893, allocations: 243.3 kB / 0.8348 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1894, allocations: 0 / 0.8348 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006043/0.19, allocations: 404.7 kB / 0.8352 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.19, allocations: 71.39 kB / 0.8352 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1901, allocations: 4 kB / 0.8352 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1901, allocations: 8.125 kB / 0.8352 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1902, allocations: 31.97 kB / 0.8353 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1902, allocations: 3.938 kB / 0.8353 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.1907, allocations: 59.8 kB / 0.8353 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.1908, allocations: 59.92 kB / 0.8354 GB, free: 8.371 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.0001627/0.191, allocations: 172.6 kB / 0.8355 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.191, allocations: 31.56 kB / 0.8356 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.1911, allocations: 30.25 kB / 0.8356 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1911, allocations: 0 / 0.8356 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1911, allocations: 3.938 kB / 0.8356 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1911, allocations: 0 / 0.8356 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007105/0.1918, allocations: 0.5645 MB / 0.8362 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1918, allocations: 0 / 0.8362 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.1919, allocations: 11.92 kB / 0.8362 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1919, allocations: 4 kB / 0.8362 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1919, allocations: 15.98 kB / 0.8362 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1919, allocations: 4 kB / 0.8362 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1919, allocations: 0 / 0.8362 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.1923, allocations: 321.3 kB / 0.8365 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.1925, allocations: 156.6 kB / 0.8366 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.1925, allocations: 8 kB / 0.8367 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.1927, allocations: 15.98 kB / 0.8367 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.1928, allocations: 15.98 kB / 0.8367 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.1928, allocations: 35.97 kB / 0.8367 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001576/0.193, allocations: 205.9 kB / 0.8369 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.193, allocations: 0 / 0.8369 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002849/0.1933, allocations: 51.98 kB / 0.837 GB, free: 6.648 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.0001145/0.1934, allocations: 121.8 kB / 0.8371 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005139/0.1939, allocations: 350.8 kB / 0.8374 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1939, allocations: 0 / 0.8374 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1941, allocations: 71.86 kB / 0.8375 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1944, allocations: 28.31 kB / 0.8375 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.195, allocations: 383.9 kB / 0.8379 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1953, allocations: 0.7471 MB / 0.8386 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000104/0.1954, allocations: 37.42 kB / 0.8386 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.413e-05/0.1955, allocations: 31.42 kB / 0.8387 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.1955, allocations: 4 kB / 0.8387 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of Templates: time 0.006304/0.2018, allocations: 4.08 MB / 0.8427 GB, free: 0.75 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)