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.005172/0.005172, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001151/0.00115, allocations: 190.2 kB / 16.67 MB, free: 5.91 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.185/1.185, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.405/1.405, allocations: 251.7 MB / 0.5094 GB, free: 3.012 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.001266/0.001266, allocations: 71.89 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.174, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002132/0.1761, allocations: 1.493 MB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000758/0.1769, allocations: 426.1 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.177, allocations: 0 / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.066e-05/0.1771, allocations: 3.938 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.1771, allocations: 24.23 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.1777, allocations: 250.4 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000283/0.178, allocations: 311.5 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1781, allocations: 8 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.1783, allocations: 191.7 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.1785, allocations: 112.1 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.1786, allocations: 20 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.06e-05/0.1786, allocations: 16 kB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.1787, allocations: 83.66 kB / 0.8308 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1788, allocations: 127.4 kB / 0.831 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1791, allocations: 275 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1791, allocations: 8 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1791, allocations: 0 / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.1791, 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.0009967/0.1801, allocations: 0.696 MB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.1802, allocations: 12.03 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.1803, allocations: 28.8 kB / 0.832 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1805, allocations: 267.8 kB / 0.8322 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1805, allocations: 12.38 kB / 0.8322 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.1806, allocations: 27.92 kB / 0.8323 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1809, allocations: 149.5 kB / 0.8324 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1809, allocations: 0 / 0.8324 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1809, allocations: 0 / 0.8324 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1809, allocations: 0 / 0.8324 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.181, allocations: 55.91 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.1813, allocations: 309.4 kB / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.1816, allocations: 142.6 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1817, allocations: 56.84 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1817, allocations: 0 / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003593/0.1821, allocations: 219.5 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1821, allocations: 0 / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005185/0.1826, allocations: 277.2 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1827, allocations: 63.39 kB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1829, allocations: 283 kB / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.183, allocations: 41.7 kB / 0.8338 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.183, allocations: 93.12 kB / 0.8339 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.1831, allocations: 55.58 kB / 0.8339 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.1832, allocations: 97.81 kB / 0.834 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1833, allocations: 322.8 kB / 0.8343 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.1835, allocations: 96.17 kB / 0.8344 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.1838, allocations: 142.4 kB / 0.8345 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.1841, allocations: 247.6 kB / 0.8348 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1841, allocations: 4 kB / 0.8348 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006026/0.1847, allocations: 416.7 kB / 0.8352 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.1847, allocations: 74.2 kB / 0.8353 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1847, allocations: 4 kB / 0.8353 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1848, allocations: 4 kB / 0.8353 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1849, allocations: 27.91 kB / 0.8353 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1849, allocations: 4 kB / 0.8353 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.1854, allocations: 64.03 kB / 0.8354 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/0.1854, allocations: 55.92 kB / 0.8354 GB, free: 8.289 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.0001447/0.1856, allocations: 160.6 kB / 0.8356 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.1856, allocations: 35.73 kB / 0.8356 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.1857, allocations: 38.19 kB / 0.8356 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1857, allocations: 0 / 0.8356 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1857, allocations: 4 kB / 0.8356 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1857, allocations: 4 kB / 0.8356 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/0.1864, allocations: 0.5529 MB / 0.8362 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1864, allocations: 0 / 0.8362 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.1864, allocations: 15.92 kB / 0.8362 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1865, allocations: 0 / 0.8362 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.1865, allocations: 11.98 kB / 0.8362 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1865, allocations: 0 / 0.8362 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1865, allocations: 0 / 0.8362 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.1869, allocations: 327.1 kB / 0.8365 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.187, allocations: 164.7 kB / 0.8367 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.1871, allocations: 11.98 kB / 0.8367 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1873, allocations: 11.98 kB / 0.8367 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.1873, allocations: 15.98 kB / 0.8367 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.1874, allocations: 27.98 kB / 0.8367 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001652/0.1875, allocations: 209.9 kB / 0.8369 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.1876, allocations: 0 / 0.8369 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002767/0.1878, allocations: 52 kB / 0.837 GB, free: 6.57 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.0001115/0.188, allocations: 125.7 kB / 0.8371 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.1884, allocations: 345.7 kB / 0.8374 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1884, allocations: 3.938 kB / 0.8374 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1886, allocations: 67.97 kB / 0.8375 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.1889, allocations: 25.23 kB / 0.8375 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.1894, allocations: 391.6 kB / 0.8379 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1897, allocations: 0.7471 MB / 0.8386 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.1898, allocations: 41.41 kB / 0.8387 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.1899, allocations: 43.36 kB / 0.8387 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.1899, allocations: 4 kB / 0.8387 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of Templates: time 0.006149/0.1961, allocations: 4.082 MB / 0.8427 GB, free: 0.6523 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)