Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.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.0009467/0.0009467, allocations: 186 kB / 382.3 MB, free: 14.84 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.339/1.339, allocations: 225.7 MB / 0.6617 GB, free: 7.246 MB / 490.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.0007972/0.0007973, allocations: 94.5 kB / 0.7789 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 8 kB / 0.9058 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.6384, allocations: 119.2 MB / 1.022 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.0017/0.6402, allocations: 1.181 MB / 1.023 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.6412, allocations: 0.7389 MB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.6413, allocations: 0.7812 kB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.854e-05/0.6414, allocations: 4.594 kB / 1.024 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.6415, allocations: 26.14 kB / 1.024 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.6421, allocations: 225.7 kB / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.6425, allocations: 283.5 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.6425, allocations: 8.219 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.6429, allocations: 224.4 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.6431, allocations: 118.6 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.6432, allocations: 9.25 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.6432, allocations: 11.03 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.6434, allocations: 75.06 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.6435, allocations: 147.1 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.6439, allocations: 278.7 kB / 1.025 GB, free: 56.06 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.6439, allocations: 1 kB / 1.025 GB, free: 56.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6439, allocations: 0 / 1.025 GB, free: 56.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.6439, allocations: 0 / 1.025 GB, free: 56.06 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.0009302/0.6448, allocations: 0.6132 MB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.6449, allocations: 17.38 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.645, allocations: 29.59 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.6453, allocations: 273.1 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.6453, allocations: 9.812 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.6454, allocations: 20.03 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.6457, allocations: 147 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.6457, allocations: 0 / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.6457, allocations: 1.359 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6457, allocations: 2.125 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.6459, allocations: 54.05 kB / 1.027 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.6462, allocations: 312.5 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.6464, allocations: 124.4 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.6465, allocations: 58.81 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.6466, allocations: 4.781 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.647, allocations: 224.5 kB / 1.027 GB, free: 54.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.647, allocations: 0 / 1.027 GB, free: 54.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005221/0.6475, allocations: 270.9 kB / 1.028 GB, free: 54.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.6476, allocations: 58.77 kB / 1.028 GB, free: 54.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.6478, allocations: 291.7 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.6479, allocations: 40.17 kB / 1.028 GB, free: 54.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.6479, allocations: 90.05 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.648, allocations: 42.31 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.648, allocations: 13.55 kB / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.6481, allocations: 319.4 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.6483, allocations: 98.45 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.6485, allocations: 153 kB / 1.029 GB, free: 53.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.6488, allocations: 240.6 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.6488, allocations: 0 / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006212/0.6494, allocations: 415 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.6495, allocations: 74.44 kB / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6495, allocations: 1.75 kB / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.6495, allocations: 2.562 kB / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.6497, allocations: 30.59 kB / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.6497, allocations: 3.906 kB / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.6502, allocations: 70.88 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/0.6503, allocations: 49.22 kB / 1.029 GB, free: 53.36 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.0001531/0.6505, allocations: 184.8 kB / 1.03 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.6505, allocations: 26.64 kB / 1.03 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.6506, allocations: 29.47 kB / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6506, allocations: 2.719 kB / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6506, allocations: 0 / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6506, allocations: 2.438 kB / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006987/0.6513, allocations: 0.5671 MB / 1.03 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6513, allocations: 0 / 1.03 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.6514, allocations: 9.625 kB / 1.03 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6514, allocations: 4.75 kB / 1.03 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.6514, allocations: 14.61 kB / 1.03 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6514, allocations: 6.531 kB / 1.03 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.6514, allocations: 0 / 1.03 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.6518, allocations: 322 kB / 1.031 GB, free: 52.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.6519, allocations: 159.5 kB / 1.031 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.652, allocations: 7.688 kB / 1.031 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.6522, allocations: 20.86 kB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.6522, allocations: 13.42 kB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.6523, allocations: 34.14 kB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001578/0.6525, allocations: 207.8 kB / 1.031 GB, free: 52.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6525, allocations: 0 / 1.031 GB, free: 52.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002747/0.6527, allocations: 45.45 kB / 1.031 GB, free: 52.33 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.0001218/0.6529, allocations: 127.2 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004878/0.6534, allocations: 341 kB / 1.032 GB, free: 52.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6534, allocations: 4 kB / 1.032 GB, free: 52.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.6535, allocations: 68.98 kB / 1.032 GB, free: 52.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.6538, allocations: 22.06 kB / 1.032 GB, free: 52.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.6545, allocations: 470.7 kB / 1.032 GB, free: 51.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.6546, allocations: 0.7391 MB / 1.033 GB, free: 50.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.6548, allocations: 38.2 kB / 1.033 GB, free: 50.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.6549, allocations: 37.55 kB / 1.033 GB, free: 50.96 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.6549, allocations: 4 kB / 1.033 GB, free: 50.96 MB / 0.698 GB Notification: Performance of Templates: time 0.007568/0.6625, allocations: 4.005 MB / 1.037 GB, free: 50.61 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)