Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.763/1.763, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001081/0.001081, allocations: 175 kB / 393.1 MB, free: 4.078 MB / 314.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.374/1.374, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008262/0.0008261, allocations: 89.89 kB / 0.7935 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 10.38 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5603/0.5607, allocations: 121.3 MB / 1.041 GB, free: 58.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001608/0.5623, allocations: 1.184 MB / 1.042 GB, free: 58.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.5633, allocations: 0.739 MB / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.5633, allocations: 0 / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.728e-05/0.5634, allocations: 7.359 kB / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.769e-05/0.5635, allocations: 19.11 kB / 1.043 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.5642, allocations: 227 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.5645, allocations: 288.1 kB / 1.043 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/0.5646, allocations: 7.344 kB / 1.043 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.5649, allocations: 220.1 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.5651, allocations: 119.8 kB / 1.044 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.5652, allocations: 11.62 kB / 1.044 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.5652, allocations: 10.56 kB / 1.044 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.5653, allocations: 76.34 kB / 1.044 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.5655, allocations: 150 kB / 1.044 GB, free: 57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.5658, allocations: 278.2 kB / 1.044 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5658, allocations: 0 / 1.044 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5659, allocations: 0 / 1.044 GB, free: 56.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.5659, allocations: 0 / 1.044 GB, free: 56.91 MB / 0.698 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.0008914/0.5668, allocations: 0.6097 MB / 1.045 GB, free: 56.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.5668, allocations: 9.656 kB / 1.045 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.5669, allocations: 33.98 kB / 1.045 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.5671, allocations: 271.9 kB / 1.045 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.5672, allocations: 8.734 kB / 1.045 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.5672, allocations: 21.47 kB / 1.045 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.5675, allocations: 148.5 kB / 1.045 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5675, allocations: 0 / 1.045 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.5676, allocations: 0.625 kB / 1.045 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.5676, allocations: 4.625 kB / 1.045 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.5677, allocations: 48 kB / 1.045 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.568, allocations: 317.3 kB / 1.046 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.5683, allocations: 128.4 kB / 1.046 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.5684, allocations: 57.47 kB / 1.046 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.5685, allocations: 7.219 kB / 1.046 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004596/0.5689, allocations: 225.3 kB / 1.046 GB, free: 55.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.569, allocations: 2.281 kB / 1.046 GB, free: 55.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005607/0.5695, allocations: 265.7 kB / 1.046 GB, free: 55.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.5696, allocations: 57.72 kB / 1.046 GB, free: 55.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.5699, allocations: 294 kB / 1.047 GB, free: 55.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.5699, allocations: 35.02 kB / 1.047 GB, free: 55.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.57, allocations: 98.22 kB / 1.047 GB, free: 55.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.57, allocations: 42.86 kB / 1.047 GB, free: 55.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.5701, allocations: 10.69 kB / 1.047 GB, free: 55.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.5701, allocations: 320.6 kB / 1.047 GB, free: 54.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.5704, allocations: 96.84 kB / 1.047 GB, free: 54.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.5706, allocations: 146.8 kB / 1.047 GB, free: 54.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.5709, allocations: 243 kB / 1.047 GB, free: 54.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5709, allocations: 1.062 kB / 1.047 GB, free: 54.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006005/0.5715, allocations: 418.3 kB / 1.048 GB, free: 54.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.5716, allocations: 71.48 kB / 1.048 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5716, allocations: 5.969 kB / 1.048 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5716, allocations: 3.938 kB / 1.048 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.5718, allocations: 27.8 kB / 1.048 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5718, allocations: 3.969 kB / 1.048 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.5723, allocations: 68.34 kB / 1.048 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.5724, allocations: 52.94 kB / 1.048 GB, free: 54.2 MB / 0.698 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.0001553/0.5725, allocations: 182 kB / 1.048 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.5726, allocations: 29.23 kB / 1.048 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.5726, allocations: 28.05 kB / 1.048 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.5726, allocations: 1 kB / 1.048 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.5727, allocations: 7.688 kB / 1.048 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5727, allocations: 2.719 kB / 1.048 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007261/0.5734, allocations: 0.5599 MB / 1.049 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5734, allocations: 0 / 1.049 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.5735, allocations: 11.16 kB / 1.049 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5735, allocations: 1.156 kB / 1.049 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.5735, allocations: 15.34 kB / 1.049 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5735, allocations: 3.938 kB / 1.049 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5735, allocations: 3.5 kB / 1.049 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.5739, allocations: 322.2 kB / 1.049 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.574, allocations: 155.4 kB / 1.049 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.5741, allocations: 9.703 kB / 1.049 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.5743, allocations: 18.83 kB / 1.049 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.5744, allocations: 14.91 kB / 1.049 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.5744, allocations: 35.23 kB / 1.049 GB, free: 53.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001561/0.5746, allocations: 209.8 kB / 1.05 GB, free: 53.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5746, allocations: 0 / 1.05 GB, free: 53.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002792/0.5749, allocations: 46.16 kB / 1.05 GB, free: 53.16 MB / 0.698 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 0.0001259/0.575, allocations: 126.6 kB / 1.05 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.5755, allocations: 341.1 kB / 1.05 GB, free: 52.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5755, allocations: 0 / 1.05 GB, free: 52.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.5757, allocations: 79.39 kB / 1.05 GB, free: 52.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.576, allocations: 18.73 kB / 1.05 GB, free: 52.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.5767, allocations: 473.1 kB / 1.051 GB, free: 52.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.5769, allocations: 0.7392 MB / 1.051 GB, free: 51.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.5771, allocations: 34.39 kB / 1.051 GB, free: 51.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.5772, allocations: 41.8 kB / 1.051 GB, free: 51.78 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.5772, allocations: 0 / 1.051 GB, free: 51.78 MB / 0.698 GB Notification: Performance of Templates: time 0.00741/0.5846, allocations: 4.017 MB / 1.055 GB, free: 51.41 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)