Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009446/0.0009447, allocations: 189.7 kB / 16.08 MB, free: 5.473 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4398/0.4398, allocations: 89.07 MB / 105.9 MB, free: 12.44 MB / 90.72 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.221/1.221, allocations: 225.7 MB / 353.2 MB, free: 1.082 MB / 282.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.0007577/0.0007579, allocations: 93.92 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003037, allocations: 8 kB / 0.4955 GB, free: 4.555 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2756, allocations: 71.34 MB / 0.5652 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001273/0.2769, allocations: 1.185 MB / 0.5663 GB, free: 41.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007745/0.2777, allocations: 0.7227 MB / 0.5671 GB, free: 40.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.2778, allocations: 0 / 0.5671 GB, free: 40.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.007e-05/0.2779, allocations: 4.906 kB / 0.5671 GB, free: 40.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.278, allocations: 24.22 kB / 0.5671 GB, free: 40.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.2785, allocations: 232.5 kB / 0.5673 GB, free: 40.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.2787, allocations: 285.5 kB / 0.5676 GB, free: 39.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.2787, allocations: 4 kB / 0.5676 GB, free: 39.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.279, allocations: 218.3 kB / 0.5678 GB, free: 39.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.2791, allocations: 124.1 kB / 0.5679 GB, free: 39.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.2792, allocations: 8 kB / 0.5679 GB, free: 39.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.206e-05/0.2793, allocations: 13.56 kB / 0.5679 GB, free: 39.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.2794, allocations: 75.72 kB / 0.568 GB, free: 39.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2795, allocations: 149 kB / 0.5681 GB, free: 39.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.2797, allocations: 273.2 kB / 0.5684 GB, free: 39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2797, allocations: 4.906 kB / 0.5684 GB, free: 38.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2797, allocations: 0 / 0.5684 GB, free: 38.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2797, allocations: 4.906 kB / 0.5684 GB, free: 38.99 MB / 410.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.0008056/0.2806, allocations: 0.6049 MB / 0.569 GB, free: 38.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.2806, allocations: 8.031 kB / 0.569 GB, free: 38.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.2807, allocations: 39.66 kB / 0.569 GB, free: 38.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.2809, allocations: 270.1 kB / 0.5693 GB, free: 37.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.2809, allocations: 16 kB / 0.5693 GB, free: 37.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.281, allocations: 15.98 kB / 0.5693 GB, free: 37.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.2812, allocations: 145.5 kB / 0.5695 GB, free: 37.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.2812, allocations: 0 / 0.5695 GB, free: 37.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.2813, allocations: 4 kB / 0.5695 GB, free: 37.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.2813, allocations: 0 / 0.5695 GB, free: 37.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.2814, allocations: 47.91 kB / 0.5695 GB, free: 37.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.2817, allocations: 321.3 kB / 0.5698 GB, free: 37.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.2819, allocations: 134.7 kB / 0.57 GB, free: 37.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.282, allocations: 52.84 kB / 0.57 GB, free: 37.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.282, allocations: 3.984 kB / 0.57 GB, free: 37.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.2824, allocations: 224 kB / 0.5702 GB, free: 36.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.984e-06/0.2824, allocations: 3.984 kB / 0.5702 GB, free: 36.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004576/0.2829, allocations: 265.2 kB / 0.5705 GB, free: 36.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.2829, allocations: 63.34 kB / 0.5705 GB, free: 36.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.2831, allocations: 290.8 kB / 0.5708 GB, free: 36.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.2832, allocations: 45.69 kB / 0.5709 GB, free: 36.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.2832, allocations: 89.14 kB / 0.5709 GB, free: 36.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.2833, allocations: 47.47 kB / 0.571 GB, free: 36.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.2833, allocations: 8 kB / 0.571 GB, free: 36.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.2834, allocations: 326.8 kB / 0.5713 GB, free: 35.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2836, allocations: 88.17 kB / 0.5714 GB, free: 35.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.2838, allocations: 146.4 kB / 0.5715 GB, free: 35.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.284, allocations: 245.9 kB / 0.5718 GB, free: 35.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.284, allocations: 0 / 0.5718 GB, free: 35.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000533/0.2846, allocations: 413.6 kB / 0.5722 GB, free: 34.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.2846, allocations: 75.39 kB / 0.5722 GB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2846, allocations: 0 / 0.5722 GB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2847, allocations: 4 kB / 0.5722 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2848, allocations: 27.91 kB / 0.5723 GB, free: 34.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2848, allocations: 4 kB / 0.5723 GB, free: 34.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.2853, allocations: 71.98 kB / 0.5723 GB, free: 34.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.2854, allocations: 55.98 kB / 0.5724 GB, free: 34.58 MB / 410.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.0001388/0.2855, allocations: 179.1 kB / 0.5726 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.2855, allocations: 31.62 kB / 0.5726 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.2856, allocations: 34.25 kB / 0.5726 GB, free: 34.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2856, allocations: 0 / 0.5726 GB, free: 34.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2856, allocations: 0 / 0.5726 GB, free: 34.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2856, allocations: 3.938 kB / 0.5726 GB, free: 34.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.2862, allocations: 0.5568 MB / 0.5732 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2862, allocations: 0 / 0.5732 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.2863, allocations: 11.98 kB / 0.5732 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2863, allocations: 0 / 0.5732 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.2863, allocations: 11.98 kB / 0.5732 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2863, allocations: 7.938 kB / 0.5732 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2863, allocations: 0 / 0.5732 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.2866, allocations: 323.9 kB / 0.5735 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.2868, allocations: 152.7 kB / 0.5737 GB, free: 33.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.2868, allocations: 11.98 kB / 0.5737 GB, free: 33.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.287, allocations: 15.92 kB / 0.5737 GB, free: 33.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.2871, allocations: 15.98 kB / 0.5737 GB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.2871, allocations: 31.98 kB / 0.5737 GB, free: 33.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.2872, allocations: 209.9 kB / 0.5739 GB, free: 32.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2872, allocations: 0 / 0.5739 GB, free: 32.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.2875, allocations: 47.98 kB / 0.574 GB, free: 32.86 MB / 410.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 9.991e-05/0.2876, allocations: 121.2 kB / 0.5741 GB, free: 32.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.288, allocations: 346.6 kB / 0.5744 GB, free: 32.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2881, allocations: 384 / 0.5744 GB, free: 32.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2882, allocations: 83.8 kB / 0.5745 GB, free: 32.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.2885, allocations: 32.78 kB / 0.5745 GB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.289, allocations: 456.5 kB / 0.575 GB, free: 31.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.2892, allocations: 0.7438 MB / 0.5757 GB, free: 31.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.2893, allocations: 37.42 kB / 0.5757 GB, free: 30.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2894, allocations: 35.42 kB / 0.5758 GB, free: 30.94 MB / 410.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2894, allocations: 0 / 0.5758 GB, free: 30.94 MB / 410.7 MB Notification: Performance of Templates: time 0.005886/0.2953, allocations: 3.999 MB / 0.5797 GB, free: 26.95 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)