Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01087/0.01087, allocations: 106.9 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001252/0.001252, allocations: 185.5 kB / 15.95 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.966/1.966, allocations: 194.5 MB / 211.2 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.191/2.191, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.00064, allocations: 15.98 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6424, allocations: 98.71 MB / 0.6834 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.8706, allocations: 126.3 MB / 0.8068 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.871, allocations: 71.95 kB / 0.8069 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02188/0.8929, allocations: 4.184 MB / 0.8109 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8929, allocations: 0 / 0.8109 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.8929, allocations: 0 / 0.8109 GB, free: 11.58 MB / 0.6355 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.001199/0.8941, allocations: 0.5794 MB / 0.8115 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.8942, allocations: 15.95 kB / 0.8115 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.802e-05/0.8943, allocations: 38.56 kB / 0.8116 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.8944, allocations: 19.81 kB / 0.8116 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.8946, allocations: 195.9 kB / 0.8118 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.8946, allocations: 11.94 kB / 0.8118 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.566e-05/0.8948, allocations: 20 kB / 0.8118 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.8952, allocations: 141.5 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8952, allocations: 0 / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.8953, allocations: 0 / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.8953, allocations: 4 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.8955, allocations: 47.97 kB / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.896, allocations: 313.3 kB / 0.8123 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.8964, allocations: 130.6 kB / 0.8124 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.8965, allocations: 0 / 0.8124 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006065/0.8971, allocations: 203.5 kB / 0.8126 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.415e-06/0.8971, allocations: 3.938 kB / 0.8126 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.000898/0.898, allocations: 254.9 kB / 0.8128 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.8981, allocations: 59.39 kB / 0.8129 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.8984, allocations: 203.1 kB / 0.8131 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.633e-05/0.8985, allocations: 37.69 kB / 0.8131 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.8986, allocations: 89.14 kB / 0.8132 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.8987, allocations: 47.5 kB / 0.8133 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.8987, allocations: 4 kB / 0.8133 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8989, allocations: 330.8 kB / 0.8136 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.8993, allocations: 96.17 kB / 0.8137 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.8998, allocations: 160 kB / 0.8138 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.9003, allocations: 152.1 kB / 0.814 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.9003, allocations: 0 / 0.814 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001282/0.9016, allocations: 403.3 kB / 0.8144 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.891e-05/0.9017, allocations: 79.41 kB / 0.8144 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.9017, allocations: 0 / 0.8144 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.9018, allocations: 4 kB / 0.8144 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.902, allocations: 27.92 kB / 0.8145 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.9021, allocations: 4 kB / 0.8145 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/0.9027, allocations: 47.81 kB / 0.8145 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.9028, allocations: 47.97 kB / 0.8146 GB, free: 7.562 MB / 0.6355 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.00031/0.9032, allocations: 165.7 kB / 0.8147 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.9032, allocations: 23.7 kB / 0.8147 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.9033, allocations: 21.88 kB / 0.8148 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.9033, allocations: 0 / 0.8148 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9034, allocations: 0 / 0.8148 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.9034, allocations: 7.984 kB / 0.8148 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.9046, allocations: 0.5423 MB / 0.8153 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.9046, allocations: 0 / 0.8153 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.9047, allocations: 12 kB / 0.8153 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.9047, allocations: 0 / 0.8153 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.9048, allocations: 11.97 kB / 0.8153 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.9048, allocations: 3.938 kB / 0.8153 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9048, allocations: 0 / 0.8153 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.9055, allocations: 309.5 kB / 0.8156 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.9057, allocations: 132.9 kB / 0.8157 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/0.9058, allocations: 15.98 kB / 0.8158 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.9061, allocations: 8 kB / 0.8158 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.9062, allocations: 23.91 kB / 0.8158 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/0.9063, allocations: 19.98 kB / 0.8158 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000234/0.9065, allocations: 169.6 kB / 0.816 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9065, allocations: 0 / 0.816 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000518/0.9071, allocations: 48 kB / 0.816 GB, free: 5.977 MB / 0.6355 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.001084/0.9081, allocations: 0.8714 MB / 0.8169 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.9092, allocations: 345.1 kB / 0.8172 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9092, allocations: 4 kB / 0.8172 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.9095, allocations: 67.89 kB / 0.8173 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.9098, allocations: 21.03 kB / 0.8173 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.9115, allocations: 1.529 MB / 0.8188 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.9119, allocations: 0.7321 MB / 0.8195 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002099/0.9121, allocations: 33.08 kB / 0.8195 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.9123, allocations: 43.41 kB / 0.8196 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.9124, allocations: 0 / 0.8196 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.9427, allocations: 4.97 MB / 0.8244 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/0.943, allocations: 175.6 kB / 0.8246 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.441, allocations: 0 / 0.8246 GB, free: 13.11 MB / 0.6511 GB