Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.234/2.234, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001323/0.001323, allocations: 197.2 kB / 329.5 MB, free: 1.148 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 2.4/2.4, allocations: 225.6 MB / 0.6001 GB, free: 2.207 MB / 426.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.001801/0.001801, allocations: 104.5 kB / 0.7074 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007497/0.00075, allocations: 13.62 kB / 0.8242 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2467, allocations: 109.1 MB / 0.9307 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001646/0.2484, allocations: 1.181 MB / 0.9319 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2495, allocations: 411.1 kB / 0.9323 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.2496, allocations: 0 / 0.9323 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.139e-05/0.2497, allocations: 7.922 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.2499, allocations: 15.92 kB / 0.9323 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/0.2507, allocations: 211.6 kB / 0.9325 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.251, allocations: 243.5 kB / 0.9328 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.2511, allocations: 4 kB / 0.9328 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.2515, allocations: 219.6 kB / 0.933 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.2518, allocations: 139.7 kB / 0.9331 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.65e-05/0.2519, allocations: 8 kB / 0.9331 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.491e-05/0.252, allocations: 8 kB / 0.9331 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2522, allocations: 83.72 kB / 0.9332 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.2523, allocations: 65.58 kB / 0.9333 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.2525, allocations: 207.8 kB / 0.9335 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2525, allocations: 0 / 0.9335 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2525, allocations: 0 / 0.9335 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2525, allocations: 0 / 0.9335 GB, free: 22.34 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.001358/0.2539, allocations: 0.6221 MB / 0.9341 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.254, allocations: 12.03 kB / 0.9341 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.2541, allocations: 32.56 kB / 0.9341 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.2544, allocations: 247.9 kB / 0.9343 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.2545, allocations: 16.36 kB / 0.9344 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/0.2546, allocations: 16.38 kB / 0.9344 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.255, allocations: 146 kB / 0.9345 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.255, allocations: 8.188 kB / 0.9345 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.2551, allocations: 11.91 kB / 0.9345 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2551, allocations: 0 / 0.9345 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.2553, allocations: 47.97 kB / 0.9346 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.2557, allocations: 305.3 kB / 0.9349 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.2561, allocations: 130.7 kB / 0.935 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.2563, allocations: 60.83 kB / 0.9351 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.2564, allocations: 4 kB / 0.9351 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000585/0.2569, allocations: 220.1 kB / 0.9353 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.257, allocations: 0 / 0.9353 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.00086/0.2578, allocations: 277 kB / 0.9355 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.2579, allocations: 63.38 kB / 0.9356 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.2582, allocations: 283 kB / 0.9359 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/0.2583, allocations: 45.64 kB / 0.9359 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.2584, allocations: 85.14 kB / 0.936 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.2585, allocations: 47.44 kB / 0.936 GB, free: 19.47 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.2585, allocations: 8 kB / 0.936 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.2586, allocations: 330.8 kB / 0.9364 GB, free: 19.13 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.2589, allocations: 88.17 kB / 0.9364 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.2593, allocations: 142.4 kB / 0.9366 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.2596, allocations: 159.3 kB / 0.9367 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2597, allocations: 0 / 0.9367 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001006/0.2607, allocations: 418.4 kB / 0.9371 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.2608, allocations: 75.38 kB / 0.9372 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2608, allocations: 3.984 kB / 0.9372 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2608, allocations: 4 kB / 0.9372 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.2611, allocations: 32.05 kB / 0.9372 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2611, allocations: 8 kB / 0.9372 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009198/0.2621, allocations: 75.72 kB / 0.9373 GB, free: 18.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/0.2622, allocations: 51.98 kB / 0.9374 GB, free: 18.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.2624, allocations: 173.8 kB / 0.9375 GB, free: 17.85 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.2625, allocations: 23.72 kB / 0.9376 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.2626, allocations: 34.25 kB / 0.9376 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2626, allocations: 7.875 kB / 0.9376 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2626, allocations: 0 / 0.9376 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2626, allocations: 3.984 kB / 0.9376 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.2637, allocations: 0.5568 MB / 0.9381 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.2637, allocations: 7.938 kB / 0.9381 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.2638, allocations: 4 kB / 0.9381 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.2638, allocations: 4 kB / 0.9382 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.2639, allocations: 15.97 kB / 0.9382 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2639, allocations: 0 / 0.9382 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2639, allocations: 0 / 0.9382 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.2645, allocations: 320 kB / 0.9385 GB, free: 16.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.2647, allocations: 164.5 kB / 0.9386 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.2649, allocations: 12 kB / 0.9386 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.2652, allocations: 15.98 kB / 0.9387 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.2653, allocations: 19.97 kB / 0.9387 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.2654, allocations: 23.98 kB / 0.9387 GB, free: 16.55 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002871/0.2657, allocations: 213.9 kB / 0.9389 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.11e-07/0.2657, allocations: 0 / 0.9389 GB, free: 16.34 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000489/0.2662, allocations: 47.98 kB / 0.9389 GB, free: 16.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001778/0.2664, allocations: 118 kB / 0.9391 GB, free: 16.17 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008516/0.2673, allocations: 350.7 kB / 0.9394 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2673, allocations: 0 / 0.9394 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.2675, allocations: 67.91 kB / 0.9395 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.268, allocations: 38.56 kB / 0.9395 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.269, allocations: 447.1 kB / 0.9399 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2692, allocations: 0.7438 MB / 0.9406 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002777/0.2695, allocations: 41.42 kB / 0.9407 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.2698, allocations: 35.42 kB / 0.9407 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of SimCode: time 1.252e-06/0.2698, allocations: 0 / 0.9407 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.01133/0.2811, allocations: 3.932 MB / 0.9446 GB, free: 10.48 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)