Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 255.9 MB / 271.2 MB, free: 8.898 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009599/0.00096, allocations: 185.9 kB / 330.8 MB, free: 460 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.7 MB / 0.6016 GB, free: 15.89 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006902/0.0006903, allocations: 109.4 kB / 0.709 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003961, allocations: 8.312 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1643, allocations: 109.2 MB / 0.9327 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001233/0.1656, allocations: 1.185 MB / 0.9339 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.1664, allocations: 0.7343 MB / 0.9346 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.1665, allocations: 0 / 0.9346 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.752e-05/0.1665, allocations: 7.875 kB / 0.9346 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.823e-05/0.1666, allocations: 20.28 kB / 0.9346 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.1672, allocations: 223.6 kB / 0.9349 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1675, allocations: 284 kB / 0.9351 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.1675, allocations: 7.984 kB / 0.9351 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.1678, allocations: 230.2 kB / 0.9354 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.168, allocations: 119.5 kB / 0.9355 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.168, allocations: 12 kB / 0.9355 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.1681, allocations: 8 kB / 0.9355 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.1682, allocations: 79.77 kB / 0.9356 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.1683, allocations: 153 kB / 0.9357 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1685, allocations: 271.3 kB / 0.936 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1685, allocations: 0 / 0.936 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1686, allocations: 0 / 0.936 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1686, allocations: 0 / 0.936 GB, free: 20.71 MB / 0.5886 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.0008021/0.1694, allocations: 0.618 MB / 0.9366 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1694, allocations: 15.98 kB / 0.9366 GB, free: 20 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/0.1695, allocations: 35.7 kB / 0.9366 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1697, allocations: 254.3 kB / 0.9369 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1697, allocations: 11.98 kB / 0.9369 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.1698, allocations: 16 kB / 0.9369 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.17, allocations: 149.5 kB / 0.937 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.17, allocations: 0 / 0.937 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1701, allocations: 3.938 kB / 0.937 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1701, allocations: 7.984 kB / 0.937 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1702, allocations: 43.97 kB / 0.9371 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.1704, allocations: 325.3 kB / 0.9374 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1707, allocations: 130.6 kB / 0.9375 GB, free: 18.94 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.1708, allocations: 56.83 kB / 0.9376 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1708, allocations: 4 kB / 0.9376 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.1712, allocations: 215.6 kB / 0.9378 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1712, allocations: 0 / 0.9378 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0004688/0.1716, allocations: 269.1 kB / 0.938 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.1717, allocations: 63.39 kB / 0.9381 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.1719, allocations: 298.8 kB / 0.9384 GB, free: 18.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.1719, allocations: 37.7 kB / 0.9384 GB, free: 17.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.1719, allocations: 93.14 kB / 0.9385 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.172, allocations: 39.45 kB / 0.9386 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.172, allocations: 8 kB / 0.9386 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.1721, allocations: 322.8 kB / 0.9389 GB, free: 17.51 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.1722, allocations: 92.17 kB / 0.939 GB, free: 17.42 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.1724, allocations: 151.8 kB / 0.9391 GB, free: 17.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.1727, allocations: 244.6 kB / 0.9393 GB, free: 16.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1727, allocations: 0 / 0.9393 GB, free: 16.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005204/0.1732, allocations: 420.5 kB / 0.9397 GB, free: 16.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.1733, allocations: 75.39 kB / 0.9398 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1733, allocations: 3.938 kB / 0.9398 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1733, allocations: 4 kB / 0.9398 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1735, allocations: 27.91 kB / 0.9398 GB, free: 16.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1735, allocations: 8.188 kB / 0.9399 GB, free: 16.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.1739, allocations: 71.73 kB / 0.9399 GB, free: 16.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.174, allocations: 51.98 kB / 0.94 GB, free: 16.3 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.1741, allocations: 178 kB / 0.9401 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.1742, allocations: 23.72 kB / 0.9402 GB, free: 16.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.1742, allocations: 30.25 kB / 0.9402 GB, free: 16.06 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1742, allocations: 4 kB / 0.9402 GB, free: 16.06 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1742, allocations: 0 / 0.9402 GB, free: 16.06 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1742, allocations: 3.938 kB / 0.9402 GB, free: 16.05 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.1748, allocations: 0.5529 MB / 0.9407 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1748, allocations: 4 kB / 0.9407 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.1749, allocations: 15.92 kB / 0.9408 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1749, allocations: 0 / 0.9408 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.1749, allocations: 11.98 kB / 0.9408 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1749, allocations: 7.875 kB / 0.9408 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1749, allocations: 4 kB / 0.9408 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.1752, allocations: 319.9 kB / 0.9411 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1753, allocations: 164.7 kB / 0.9412 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.1754, allocations: 12 kB / 0.9413 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1756, allocations: 15.92 kB / 0.9413 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1756, allocations: 15.98 kB / 0.9413 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.1757, allocations: 31.97 kB / 0.9413 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001207/0.1758, allocations: 201.9 kB / 0.9415 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1758, allocations: 0 / 0.9415 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00026/0.1761, allocations: 55.98 kB / 0.9416 GB, free: 14.56 MB / 0.5886 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 9.351e-05/0.1762, allocations: 119.7 kB / 0.9417 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.1766, allocations: 342.5 kB / 0.942 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1766, allocations: 3.938 kB / 0.942 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1767, allocations: 71.95 kB / 0.9421 GB, free: 14 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.177, allocations: 20.88 kB / 0.9421 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.1775, allocations: 467.2 kB / 0.9425 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.1776, allocations: 0.7437 MB / 0.9433 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.1778, allocations: 41.42 kB / 0.9433 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1779, allocations: 35.42 kB / 0.9433 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/0.1779, allocations: 0 / 0.9433 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of Templates: time 0.005485/0.1834, allocations: 3.976 MB / 0.9472 GB, free: 8.688 MB / 0.5886 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)