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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 182.9 kB / 327.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.4 MB / 0.5783 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009543/0.0009545, allocations: 82.36 kB / 0.6829 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003102, allocations: 8.562 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1765, allocations: 106.3 MB / 0.9008 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001414/0.178, allocations: 1.191 MB / 0.902 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006956/0.1787, allocations: 403.2 kB / 0.9024 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.1788, allocations: 0 / 0.9024 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.428e-05/0.1789, allocations: 3.938 kB / 0.9024 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.05e-05/0.179, allocations: 23.84 kB / 0.9024 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.1796, allocations: 218.3 kB / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1798, allocations: 239.6 kB / 0.9028 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.572e-05/0.1799, allocations: 12 kB / 0.9028 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.1802, allocations: 223.6 kB / 0.903 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1804, allocations: 127.7 kB / 0.9032 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.1804, allocations: 8 kB / 0.9032 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.1805, allocations: 12 kB / 0.9032 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.1806, allocations: 83.77 kB / 0.9033 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.1806, allocations: 61.58 kB / 0.9033 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1808, allocations: 207.8 kB / 0.9035 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1808, allocations: 3.938 kB / 0.9035 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1808, allocations: 4 kB / 0.9035 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.1808, allocations: 0 / 0.9035 GB, free: 61.65 MB / 0.6042 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.0009389/0.1818, allocations: 0.6187 MB / 0.9041 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1818, allocations: 12.03 kB / 0.9041 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.931e-05/0.1819, allocations: 35.56 kB / 0.9042 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1822, allocations: 246.6 kB / 0.9044 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1822, allocations: 23.94 kB / 0.9044 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.1823, allocations: 19.98 kB / 0.9045 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.1825, allocations: 145.5 kB / 0.9046 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1825, allocations: 0 / 0.9046 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.1826, allocations: 0 / 0.9046 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1826, allocations: 0 / 0.9046 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.1827, allocations: 51.91 kB / 0.9046 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.183, allocations: 313.3 kB / 0.9049 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.1832, allocations: 134.7 kB / 0.9051 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1833, allocations: 52.84 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1833, allocations: 4 kB / 0.9051 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.1837, allocations: 217.9 kB / 0.9053 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/0.1837, allocations: 0 / 0.9053 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004804/0.1842, allocations: 277 kB / 0.9056 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1843, allocations: 55.41 kB / 0.9057 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1845, allocations: 287 kB / 0.9059 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.1845, allocations: 37.7 kB / 0.906 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.1846, allocations: 93.12 kB / 0.9061 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1846, allocations: 51.44 kB / 0.9061 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.1846, allocations: 4 kB / 0.9061 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.1847, allocations: 330.8 kB / 0.9064 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.1849, allocations: 92.17 kB / 0.9065 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.1851, allocations: 142.4 kB / 0.9066 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1853, allocations: 157.4 kB / 0.9068 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1853, allocations: 3.938 kB / 0.9068 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005615/0.1858, allocations: 422.5 kB / 0.9072 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.1859, allocations: 78.39 kB / 0.9073 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1859, allocations: 4 kB / 0.9073 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1859, allocations: 0 / 0.9073 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1861, allocations: 35.91 kB / 0.9073 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1861, allocations: 0 / 0.9073 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/0.1867, allocations: 67.86 kB / 0.9074 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.1869, allocations: 51.98 kB / 0.9074 GB, free: 57.36 MB / 0.6042 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001869/0.1871, allocations: 183.8 kB / 0.9076 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.1871, allocations: 23.72 kB / 0.9076 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.1872, allocations: 34.25 kB / 0.9077 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1872, allocations: 0 / 0.9077 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1872, allocations: 0 / 0.9077 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1872, allocations: 8 kB / 0.9077 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007739/0.188, allocations: 0.5567 MB / 0.9082 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.188, allocations: 0 / 0.9082 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-05/0.1881, allocations: 7.984 kB / 0.9082 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1881, allocations: 4 kB / 0.9082 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.1881, allocations: 11.98 kB / 0.9082 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1881, allocations: 0 / 0.9082 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1881, allocations: 7.984 kB / 0.9082 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.1886, allocations: 327 kB / 0.9086 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1888, allocations: 160.6 kB / 0.9087 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.1889, allocations: 8 kB / 0.9087 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.1891, allocations: 15.98 kB / 0.9087 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.1891, allocations: 15.97 kB / 0.9087 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.1892, allocations: 35.98 kB / 0.9088 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001269/0.1893, allocations: 205.9 kB / 0.909 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1893, allocations: 4 kB / 0.909 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002739/0.1896, allocations: 48 kB / 0.909 GB, free: 55.62 MB / 0.6042 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 (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.0001239/0.1897, allocations: 111.2 kB / 0.9091 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.1902, allocations: 349.1 kB / 0.9095 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1902, allocations: 0 / 0.9095 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.1903, allocations: 71.91 kB / 0.9095 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1906, allocations: 25.25 kB / 0.9096 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.1912, allocations: 480.5 kB / 0.91 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.1913, allocations: 0.7397 MB / 0.9107 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.1915, allocations: 39.42 kB / 0.9108 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.1915, allocations: 0 / 0.9108 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.003667/0.1951, allocations: 2.967 MB / 0.9137 GB, free: 50.78 MB / 0.6042 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)