Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004912/0.004912, allocations: 104.9 kB / 15.73 MB, free: 6.043 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.00121/0.00121, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.196/1.196, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.387/1.387, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001301/0.001301, allocations: 67.91 kB / 0.7258 GB, free: 9.152 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1725, allocations: 104.7 MB / 0.828 GB, free: 348 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002191/0.1747, allocations: 1.485 MB / 0.8295 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007898/0.1755, allocations: 426.1 kB / 0.8299 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.1756, allocations: 0 / 0.8299 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.219e-05/0.1757, allocations: 15.86 kB / 0.8299 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.934e-05/0.1758, allocations: 28.22 kB / 0.8299 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.1763, allocations: 238.9 kB / 0.8301 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.1767, allocations: 315.5 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.1767, allocations: 4 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.1769, allocations: 199.6 kB / 0.8306 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1771, allocations: 104.1 kB / 0.8307 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.1772, allocations: 16 kB / 0.8308 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.445e-05/0.1772, allocations: 24 kB / 0.8308 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.1773, allocations: 83.7 kB / 0.8309 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1775, allocations: 119.4 kB / 0.831 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.1777, allocations: 275.1 kB / 0.8312 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1777, allocations: 0 / 0.8312 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1777, allocations: 0 / 0.8312 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1778, allocations: 0 / 0.8312 GB, free: 13.04 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.0009945/0.1788, allocations: 0.7037 MB / 0.8319 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.1788, allocations: 16.03 kB / 0.8319 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.1789, allocations: 28.66 kB / 0.832 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1791, allocations: 263.5 kB / 0.8322 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.1791, allocations: 12.36 kB / 0.8322 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.1792, allocations: 23.88 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.1795, allocations: 145.5 kB / 0.8324 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1795, allocations: 0 / 0.8324 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.1795, allocations: 7.984 kB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1795, allocations: 0 / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.1796, allocations: 39.98 kB / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.1799, allocations: 317.3 kB / 0.8327 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.1802, allocations: 142.7 kB / 0.8329 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1803, allocations: 56.83 kB / 0.8329 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1803, allocations: 4 kB / 0.8329 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.1807, allocations: 219.6 kB / 0.8331 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.1807, allocations: 0 / 0.8331 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005218/0.1812, allocations: 277.1 kB / 0.8334 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1813, allocations: 55.41 kB / 0.8335 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.1815, allocations: 291 kB / 0.8337 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.1816, allocations: 37.69 kB / 0.8338 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.1816, allocations: 93.14 kB / 0.8339 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1817, allocations: 43.39 kB / 0.8339 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.1818, allocations: 117.6 kB / 0.834 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.1819, allocations: 322.8 kB / 0.8343 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.1821, allocations: 84.19 kB / 0.8344 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1823, allocations: 150.4 kB / 0.8345 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.1826, allocations: 243.3 kB / 0.8348 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1826, allocations: 0 / 0.8348 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005932/0.1832, allocations: 408.6 kB / 0.8352 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.1833, allocations: 75.39 kB / 0.8352 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1833, allocations: 4 kB / 0.8352 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1833, allocations: 0 / 0.8352 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1835, allocations: 36.08 kB / 0.8353 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1835, allocations: 4 kB / 0.8353 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.1839, allocations: 59.8 kB / 0.8353 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.184, allocations: 55.98 kB / 0.8354 GB, free: 8.445 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.0001488/0.1842, allocations: 168.5 kB / 0.8355 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.1842, allocations: 35.56 kB / 0.8356 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.1843, allocations: 34.19 kB / 0.8356 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1843, allocations: 0 / 0.8356 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1843, allocations: 0 / 0.8356 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1843, allocations: 0 / 0.8356 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.1849, allocations: 0.5632 MB / 0.8362 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.185, allocations: 3.984 kB / 0.8362 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.185, allocations: 4 kB / 0.8362 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.185, allocations: 7.938 kB / 0.8362 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.185, allocations: 11.98 kB / 0.8362 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1851, allocations: 8 kB / 0.8362 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1851, allocations: 0 / 0.8362 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.1854, allocations: 319 kB / 0.8365 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.1856, allocations: 164.6 kB / 0.8367 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.1856, allocations: 8 kB / 0.8367 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.1858, allocations: 11.98 kB / 0.8367 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.1859, allocations: 15.98 kB / 0.8367 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.1859, allocations: 31.97 kB / 0.8367 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001554/0.1861, allocations: 205.9 kB / 0.8369 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1861, allocations: 0 / 0.8369 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002788/0.1864, allocations: 51.98 kB / 0.837 GB, free: 6.727 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.0001176/0.1865, allocations: 117.8 kB / 0.8371 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.187, allocations: 349.8 kB / 0.8374 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.187, allocations: 4.375 kB / 0.8374 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1871, allocations: 79.8 kB / 0.8375 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1874, allocations: 28.81 kB / 0.8375 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.188, allocations: 375.8 kB / 0.8379 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1883, allocations: 0.7511 MB / 0.8386 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.792e-05/0.1884, allocations: 37.42 kB / 0.8387 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.158e-05/0.1885, allocations: 35.36 kB / 0.8387 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.1885, allocations: 4 kB / 0.8387 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of Templates: time 0.006343/0.1948, allocations: 4.084 MB / 0.8427 GB, free: 0.8164 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)