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.00456/0.00456, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.001109/0.001109, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.194/1.194, 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.413/1.413, 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.001244/0.001244, allocations: 72.45 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1683, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002366/0.1708, allocations: 1.485 MB / 0.8295 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008125/0.1716, allocations: 427.3 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.1716, allocations: 3.938 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.084e-05/0.1717, allocations: 3.938 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.704e-05/0.1718, allocations: 20.23 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.1724, allocations: 256.2 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.1728, allocations: 315.5 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.1728, allocations: 8 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.173, allocations: 187.7 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1732, allocations: 112.1 kB / 0.8307 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.1733, allocations: 20 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.584e-05/0.1734, allocations: 16 kB / 0.8308 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.1735, allocations: 79.72 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1736, allocations: 127.4 kB / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1739, allocations: 278.9 kB / 0.8312 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1739, allocations: 3.938 kB / 0.8312 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1739, allocations: 4 kB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1739, allocations: 4 kB / 0.8312 GB, free: 12.91 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.001005/0.1749, allocations: 0.6983 MB / 0.8319 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1749, allocations: 12.03 kB / 0.8319 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.175, allocations: 28.8 kB / 0.832 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1753, allocations: 267.8 kB / 0.8322 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.1753, allocations: 12.38 kB / 0.8322 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.1754, allocations: 27.92 kB / 0.8323 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.1756, allocations: 141.5 kB / 0.8324 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1756, allocations: 3.938 kB / 0.8324 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1757, allocations: 8 kB / 0.8324 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1757, allocations: 3.938 kB / 0.8324 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.1758, allocations: 51.97 kB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.1761, allocations: 305.4 kB / 0.8328 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1763, allocations: 130.7 kB / 0.8329 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1765, allocations: 60.77 kB / 0.8329 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1765, allocations: 4 kB / 0.8329 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003556/0.1769, allocations: 219.5 kB / 0.8331 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.1769, allocations: 0 / 0.8331 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005072/0.1774, allocations: 275.9 kB / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1774, allocations: 63.39 kB / 0.8335 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1777, allocations: 283 kB / 0.8337 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.1777, allocations: 37.7 kB / 0.8338 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.1778, allocations: 97.12 kB / 0.8339 GB, free: 10 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.1778, allocations: 55.56 kB / 0.8339 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.178, allocations: 101.8 kB / 0.834 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.1781, allocations: 322.8 kB / 0.8343 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.1782, allocations: 92.17 kB / 0.8344 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.1785, allocations: 146.4 kB / 0.8346 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.1788, allocations: 243.3 kB / 0.8348 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1788, allocations: 3.984 kB / 0.8348 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005907/0.1794, allocations: 412.7 kB / 0.8352 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/0.1794, allocations: 71.39 kB / 0.8353 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1794, allocations: 4 kB / 0.8353 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1795, allocations: 4 kB / 0.8353 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1796, allocations: 31.91 kB / 0.8353 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1796, allocations: 4 kB / 0.8353 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.1801, allocations: 60.03 kB / 0.8354 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.1801, allocations: 51.98 kB / 0.8354 GB, free: 8.328 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.0001415/0.1803, allocations: 168.5 kB / 0.8356 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.1803, allocations: 39.67 kB / 0.8356 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.1804, allocations: 34.25 kB / 0.8356 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1804, allocations: 0 / 0.8356 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1804, allocations: 0 / 0.8356 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1804, allocations: 4 kB / 0.8356 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006663/0.1811, allocations: 0.5607 MB / 0.8362 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1811, allocations: 0 / 0.8362 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.1811, allocations: 11.98 kB / 0.8362 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1812, allocations: 0 / 0.8362 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.1812, allocations: 15.98 kB / 0.8362 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1812, allocations: 7.938 kB / 0.8362 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1812, allocations: 0 / 0.8362 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.1816, allocations: 329.5 kB / 0.8365 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.1817, allocations: 160.8 kB / 0.8367 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.1818, allocations: 11.98 kB / 0.8367 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.182, allocations: 15.98 kB / 0.8367 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.182, allocations: 11.98 kB / 0.8367 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.1821, allocations: 31.98 kB / 0.8368 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001564/0.1822, allocations: 205.9 kB / 0.837 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1822, allocations: 4 kB / 0.837 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000275/0.1825, allocations: 44 kB / 0.837 GB, free: 6.598 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.000106/0.1826, allocations: 125.7 kB / 0.8371 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.1831, allocations: 342.6 kB / 0.8374 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1831, allocations: 0 / 0.8374 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1833, allocations: 71.91 kB / 0.8375 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.1836, allocations: 31.23 kB / 0.8375 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.1841, allocations: 384 kB / 0.8379 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1844, allocations: 0.751 MB / 0.8386 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.1845, allocations: 41.36 kB / 0.8387 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1846, allocations: 39.42 kB / 0.8387 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.1846, allocations: 0 / 0.8387 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.006321/0.1909, allocations: 4.084 MB / 0.8427 GB, free: 0.6836 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)