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.CalendarTimeMonthsPlus.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.255/1.255, allocations: 255.9 MB / 271.2 MB, free: 8.941 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.000873/0.000873, allocations: 194.4 kB / 330.8 MB, free: 0.4922 MB / 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.344/1.344, allocations: 225.7 MB / 0.6016 GB, free: 15.92 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.0006785/0.0006785, allocations: 103.7 kB / 0.709 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 8.812 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1645, allocations: 109.2 MB / 0.9327 GB, free: 24.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001191/0.1657, allocations: 1.185 MB / 0.9339 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.1665, allocations: 0.7381 MB / 0.9346 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.1665, allocations: 3.938 kB / 0.9346 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.947e-05/0.1666, allocations: 3.938 kB / 0.9346 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.1667, allocations: 16.3 kB / 0.9346 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.1672, allocations: 231.6 kB / 0.9349 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1674, allocations: 284 kB / 0.9351 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.1674, allocations: 15.92 kB / 0.9351 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.1676, allocations: 222.3 kB / 0.9354 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.1678, allocations: 115.6 kB / 0.9355 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.1679, allocations: 12 kB / 0.9355 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.053e-05/0.1679, allocations: 8 kB / 0.9355 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.56e-05/0.168, allocations: 79.77 kB / 0.9356 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1682, allocations: 152.9 kB / 0.9357 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1684, allocations: 275.3 kB / 0.936 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1684, allocations: 4 kB / 0.936 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1684, allocations: 0 / 0.936 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1684, allocations: 0 / 0.936 GB, free: 20.74 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.000804/0.1692, allocations: 0.6141 MB / 0.9366 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.1693, allocations: 11.98 kB / 0.9366 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.1693, allocations: 31.7 kB / 0.9366 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1696, allocations: 262.3 kB / 0.9369 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.1696, allocations: 15.98 kB / 0.9369 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.1696, allocations: 19.94 kB / 0.9369 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.1699, allocations: 149.5 kB / 0.937 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1699, allocations: 3.938 kB / 0.937 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.1699, allocations: 0 / 0.937 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1699, allocations: 0 / 0.937 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.17, allocations: 47.97 kB / 0.9371 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.1703, allocations: 313.3 kB / 0.9374 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.1705, allocations: 138.6 kB / 0.9375 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1706, allocations: 56.83 kB / 0.9376 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1706, allocations: 4 kB / 0.9376 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.171, allocations: 215.6 kB / 0.9378 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.171, allocations: 0 / 0.9378 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0004491/0.1715, allocations: 265.2 kB / 0.938 GB, free: 18.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.1715, allocations: 59.41 kB / 0.9381 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1717, allocations: 294.8 kB / 0.9384 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.1718, allocations: 41.7 kB / 0.9384 GB, free: 18.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.1718, allocations: 85.14 kB / 0.9385 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.1718, allocations: 51.44 kB / 0.9385 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.1719, allocations: 7.984 kB / 0.9386 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.1719, allocations: 326.8 kB / 0.9389 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1721, allocations: 88.19 kB / 0.9389 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.1723, allocations: 152 kB / 0.9391 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.1725, allocations: 238.9 kB / 0.9393 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1725, allocations: 4 kB / 0.9393 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005142/0.1731, allocations: 415.4 kB / 0.9397 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.1731, allocations: 79.33 kB / 0.9398 GB, free: 16.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1731, allocations: 4 kB / 0.9398 GB, free: 16.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1731, allocations: 4 kB / 0.9398 GB, free: 16.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1733, allocations: 23.97 kB / 0.9398 GB, free: 16.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1733, allocations: 7.922 kB / 0.9398 GB, free: 16.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.1738, allocations: 87.91 kB / 0.9399 GB, free: 16.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.1739, allocations: 51.98 kB / 0.94 GB, free: 16.33 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.0001199/0.174, allocations: 176.6 kB / 0.9401 GB, free: 16.15 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.174, allocations: 23.72 kB / 0.9402 GB, free: 16.13 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.1741, allocations: 34.19 kB / 0.9402 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1741, allocations: 4 kB / 0.9402 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1741, allocations: 0 / 0.9402 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1741, allocations: 0 / 0.9402 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.1747, allocations: 0.5529 MB / 0.9407 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1747, allocations: 0 / 0.9407 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.1747, allocations: 15.92 kB / 0.9408 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1747, allocations: 4 kB / 0.9408 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.1748, allocations: 11.92 kB / 0.9408 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1748, allocations: 7.938 kB / 0.9408 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1748, allocations: 0 / 0.9408 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.1751, allocations: 319.9 kB / 0.9411 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1752, allocations: 160.7 kB / 0.9412 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.1753, allocations: 8 kB / 0.9412 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.1755, allocations: 19.92 kB / 0.9413 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1755, allocations: 15.98 kB / 0.9413 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.1755, allocations: 31.97 kB / 0.9413 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001192/0.1757, allocations: 201.9 kB / 0.9415 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1757, allocations: 0 / 0.9415 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000253/0.1759, allocations: 55.98 kB / 0.9416 GB, free: 14.6 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.647e-05/0.176, allocations: 115.7 kB / 0.9417 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.1764, allocations: 354.5 kB / 0.942 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1764, allocations: 0 / 0.942 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1766, allocations: 71.95 kB / 0.9421 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1769, allocations: 20.88 kB / 0.9421 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.1774, allocations: 467.2 kB / 0.9425 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.1775, allocations: 0.7437 MB / 0.9433 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.1777, allocations: 41.41 kB / 0.9433 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.1778, allocations: 39.42 kB / 0.9433 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/0.1778, allocations: 0 / 0.9433 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of Templates: time 0.005409/0.1832, allocations: 3.985 MB / 0.9472 GB, free: 8.711 MB / 0.5886 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)