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.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime") 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.234/1.234, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.0009658/0.0009658, allocations: 181.5 kB / 330.8 MB, free: 472 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.371/1.371, 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.0007157/0.0007159, allocations: 91.41 kB / 0.709 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 8.469 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1615, allocations: 109.2 MB / 0.9327 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001191/0.1627, allocations: 1.185 MB / 0.9339 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.1635, allocations: 0.7265 MB / 0.9346 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.1635, allocations: 0 / 0.9346 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.331e-05/0.1636, allocations: 7.938 kB / 0.9346 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.1637, allocations: 24.23 kB / 0.9346 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.1642, allocations: 231.6 kB / 0.9349 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1644, allocations: 280 kB / 0.9351 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.1644, allocations: 7.984 kB / 0.9351 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.1647, allocations: 230.2 kB / 0.9354 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.1649, allocations: 119.6 kB / 0.9355 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.1649, allocations: 8 kB / 0.9355 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.165, allocations: 8 kB / 0.9355 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/0.165, allocations: 75.78 kB / 0.9356 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1652, allocations: 149 kB / 0.9357 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1654, allocations: 279.2 kB / 0.936 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1654, allocations: 0 / 0.936 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1654, allocations: 0 / 0.936 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.1654, 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.000769/0.1662, allocations: 0.6219 MB / 0.9366 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.1662, allocations: 11.98 kB / 0.9366 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.1663, allocations: 31.72 kB / 0.9366 GB, free: 20 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1665, allocations: 266.3 kB / 0.9369 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.1665, allocations: 11.94 kB / 0.9369 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.1666, allocations: 19.98 kB / 0.9369 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.1668, allocations: 145.5 kB / 0.937 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1668, allocations: 0 / 0.937 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.1669, allocations: 0 / 0.937 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1669, allocations: 7.938 kB / 0.937 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.167, allocations: 47.97 kB / 0.9371 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.1672, allocations: 313.3 kB / 0.9374 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.1674, allocations: 130.8 kB / 0.9375 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.1675, allocations: 52.84 kB / 0.9376 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.1676, allocations: 7.984 kB / 0.9376 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003501/0.1679, allocations: 228 kB / 0.9378 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.1679, allocations: 4 kB / 0.9378 GB, free: 18.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0004433/0.1684, allocations: 265.2 kB / 0.938 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.1684, allocations: 59.41 kB / 0.9381 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1686, allocations: 294.8 kB / 0.9384 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.1686, allocations: 37.69 kB / 0.9384 GB, free: 18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.1687, allocations: 93.14 kB / 0.9385 GB, free: 17.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1687, allocations: 43.44 kB / 0.9385 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.1688, allocations: 12 kB / 0.9386 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.1688, allocations: 318.8 kB / 0.9389 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.169, allocations: 96.17 kB / 0.939 GB, free: 17.44 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.1692, allocations: 150.3 kB / 0.9391 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.1694, allocations: 241.2 kB / 0.9393 GB, free: 17 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1694, allocations: 4 kB / 0.9393 GB, free: 17 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005057/0.1699, allocations: 419.9 kB / 0.9397 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.17, allocations: 71.39 kB / 0.9398 GB, free: 16.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.17, allocations: 3.984 kB / 0.9398 GB, free: 16.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.17, allocations: 4.188 kB / 0.9398 GB, free: 16.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1701, allocations: 31.97 kB / 0.9398 GB, free: 16.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1702, allocations: 7.938 kB / 0.9398 GB, free: 16.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.1706, allocations: 67.8 kB / 0.9399 GB, free: 16.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.1707, allocations: 55.92 kB / 0.94 GB, free: 16.32 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0001181/0.1708, allocations: 184.2 kB / 0.9401 GB, free: 16.13 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1708, allocations: 23.72 kB / 0.9402 GB, free: 16.11 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1709, allocations: 26.25 kB / 0.9402 GB, free: 16.08 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1709, allocations: 4 kB / 0.9402 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1709, allocations: 0 / 0.9402 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1709, allocations: 0 / 0.9402 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.1715, allocations: 0.5529 MB / 0.9407 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1715, allocations: 4 kB / 0.9407 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.1715, allocations: 15.92 kB / 0.9407 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1715, allocations: 0 / 0.9407 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.1716, allocations: 15.98 kB / 0.9408 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1716, allocations: 3.938 kB / 0.9408 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1716, allocations: 3.938 kB / 0.9408 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.1719, allocations: 316 kB / 0.9411 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.172, allocations: 152.7 kB / 0.9412 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.172, allocations: 15.98 kB / 0.9412 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1722, allocations: 19.92 kB / 0.9413 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.1723, allocations: 11.98 kB / 0.9413 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.1723, allocations: 35.98 kB / 0.9413 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001163/0.1725, allocations: 205.9 kB / 0.9415 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.51e-07/0.1725, allocations: 0 / 0.9415 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002527/0.1727, allocations: 55.92 kB / 0.9415 GB, free: 14.59 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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 8.805e-05/0.1728, allocations: 118.1 kB / 0.9417 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.1732, allocations: 350.5 kB / 0.942 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1732, allocations: 0 / 0.942 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1733, allocations: 71.95 kB / 0.9421 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1736, allocations: 24.86 kB / 0.9421 GB, free: 14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.1741, allocations: 463.2 kB / 0.9425 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.1743, allocations: 0.7514 MB / 0.9433 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.1744, allocations: 41.41 kB / 0.9433 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1745, allocations: 43.42 kB / 0.9433 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/0.1745, allocations: 0 / 0.9433 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.005303/0.1798, allocations: 3.998 MB / 0.9472 GB, free: 8.68 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)