Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7236/0.7236, allocations: 131 MB / 146.3 MB, free: 1.316 MB / 106.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.001034/0.001034, allocations: 183.8 kB / 176.4 MB, free: 4.887 MB / 138.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.441/1.441, allocations: 225.7 MB / 432 MB, free: 9.773 MB / 314.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.0007831/0.0007831, allocations: 86.86 kB / 0.5003 GB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004399, allocations: 11.98 kB / 0.5885 GB, free: 72.86 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1442, allocations: 79.6 MB / 0.6662 GB, free: 9.102 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001814/0.1461, allocations: 1.159 MB / 0.6674 GB, free: 7.926 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1472, allocations: 0.731 MB / 0.6681 GB, free: 7.121 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.1473, allocations: 4 kB / 0.6681 GB, free: 7.117 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/0.1473, allocations: 3.938 kB / 0.6681 GB, free: 7.113 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.1474, allocations: 15.86 kB / 0.6681 GB, free: 7.098 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.1481, allocations: 231.6 kB / 0.6683 GB, free: 6.871 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.1484, allocations: 267.7 kB / 0.6686 GB, free: 6.609 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.1484, allocations: 12.11 kB / 0.6686 GB, free: 6.598 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.1487, allocations: 207.5 kB / 0.6688 GB, free: 6.395 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.1489, allocations: 115.7 kB / 0.6689 GB, free: 6.281 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.149, allocations: 8 kB / 0.6689 GB, free: 6.273 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.071e-05/0.1491, allocations: 11.94 kB / 0.6689 GB, free: 6.262 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1492, allocations: 63.8 kB / 0.669 GB, free: 6.199 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1493, allocations: 129.2 kB / 0.6691 GB, free: 6.066 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1496, allocations: 247.4 kB / 0.6694 GB, free: 5.824 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1496, allocations: 0 / 0.6694 GB, free: 5.824 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1497, allocations: 0 / 0.6694 GB, free: 5.824 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1497, allocations: 0 / 0.6694 GB, free: 5.824 MB / 442.7 MB 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.0009941/0.1507, allocations: 0.5678 MB / 0.6699 GB, free: 5.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1507, allocations: 8.031 kB / 0.6699 GB, free: 5.172 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.1508, allocations: 24.75 kB / 0.6699 GB, free: 5.148 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1511, allocations: 248.7 kB / 0.6702 GB, free: 4.863 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.1511, allocations: 8.375 kB / 0.6702 GB, free: 4.855 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.1512, allocations: 20.31 kB / 0.6702 GB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.1515, allocations: 142.1 kB / 0.6703 GB, free: 4.691 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1515, allocations: 4.188 kB / 0.6703 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.1515, allocations: 7.938 kB / 0.6703 GB, free: 4.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1515, allocations: 4 kB / 0.6704 GB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1517, allocations: 43.97 kB / 0.6704 GB, free: 4.633 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.152, allocations: 285.5 kB / 0.6707 GB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.1523, allocations: 126.7 kB / 0.6708 GB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.1524, allocations: 60.83 kB / 0.6708 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.1525, allocations: 4 kB / 0.6708 GB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004454/0.1529, allocations: 203.5 kB / 0.671 GB, free: 3.895 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.1529, allocations: 0 / 0.671 GB, free: 3.895 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.000558/0.1535, allocations: 257.7 kB / 0.6713 GB, free: 3.637 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1536, allocations: 67.28 kB / 0.6714 GB, free: 3.559 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.1538, allocations: 224.1 kB / 0.6716 GB, free: 3.332 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.1538, allocations: 37.7 kB / 0.6716 GB, free: 3.289 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.1539, allocations: 89.14 kB / 0.6717 GB, free: 3.199 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.154, allocations: 43.45 kB / 0.6717 GB, free: 3.156 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.154, allocations: 15.92 kB / 0.6717 GB, free: 3.141 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1541, allocations: 318.8 kB / 0.672 GB, free: 2.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.1543, allocations: 96.11 kB / 0.6721 GB, free: 2.727 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.1546, allocations: 142.9 kB / 0.6723 GB, free: 2.566 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.1549, allocations: 232.3 kB / 0.6725 GB, free: 2.309 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1549, allocations: 4 kB / 0.6725 GB, free: 2.305 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006165/0.1555, allocations: 400.5 kB / 0.6729 GB, free: 1.895 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.097e-05/0.1556, allocations: 75.69 kB / 0.673 GB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1556, allocations: 4 kB / 0.673 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1557, allocations: 0 / 0.673 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1558, allocations: 35.84 kB / 0.673 GB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.1558, allocations: 11.92 kB / 0.673 GB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.1563, allocations: 72.03 kB / 0.6731 GB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.693e-05/0.1564, allocations: 43.97 kB / 0.6731 GB, free: 1.645 MB / 442.7 MB 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.0001632/0.1566, allocations: 161.3 kB / 0.6733 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1566, allocations: 23.8 kB / 0.6733 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.1567, allocations: 25.81 kB / 0.6733 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1567, allocations: 7.938 kB / 0.6733 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1567, allocations: 3.984 kB / 0.6733 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.1567, allocations: 4 kB / 0.6733 GB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.1575, allocations: 0.5371 MB / 0.6739 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1575, allocations: 3.938 kB / 0.6739 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.1575, allocations: 8 kB / 0.6739 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1575, allocations: 0 / 0.6739 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.1576, allocations: 15.97 kB / 0.6739 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1576, allocations: 4 kB / 0.6739 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1576, allocations: 0 / 0.6739 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.158, allocations: 303.2 kB / 0.6742 GB, free: 492 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.1581, allocations: 144.7 kB / 0.6743 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.1582, allocations: 8 kB / 0.6743 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.1584, allocations: 11.98 kB / 0.6743 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.1584, allocations: 19.92 kB / 0.6744 GB, free: 288 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.1585, allocations: 27.97 kB / 0.6744 GB, free: 260 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1586, allocations: 161.8 kB / 0.6745 GB, free: 100 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1586, allocations: 0 / 0.6745 GB, free: 100 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.1589, allocations: 47.98 kB / 0.6746 GB, free: 52 kB / 442.7 MB 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 0.0001548/0.159, allocations: 113 kB / 0.6747 GB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.1596, allocations: 334.8 kB / 0.675 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1596, allocations: 4.125 kB / 0.675 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1597, allocations: 71.91 kB / 0.6751 GB, free: 15.51 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.16, allocations: 32.52 kB / 0.6751 GB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.1606, allocations: 374.1 kB / 0.6755 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1609, allocations: 0.7281 MB / 0.6762 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.1611, allocations: 33.08 kB / 0.6762 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.567e-05/0.1612, allocations: 35.41 kB / 0.6762 GB, free: 14.27 MB / 458.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1612, allocations: 0 / 0.6762 GB, free: 14.27 MB / 458.7 MB Notification: Performance of Templates: time 0.006284/0.1675, allocations: 3.633 MB / 0.6798 GB, free: 10.66 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)