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.01264/0.01264, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001206/0.001206, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.637/3.637, allocations: 389.1 MB / 405.9 MB, free: 68.55 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.359/4.359, allocations: 472.3 MB / 0.9018 GB, free: 13.32 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004909, allocations: 16 kB / 1.008 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6432/0.6437, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001536/0.6453, allocations: 1.159 MB / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.6464, allocations: 374.7 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.6464, allocations: 0 / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.6465, allocations: 7.984 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.6466, allocations: 20.34 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007884/0.6474, allocations: 205.6 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.6477, allocations: 232.6 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.6477, allocations: 8.219 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.648, allocations: 155.6 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.6483, allocations: 119.7 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.355e-05/0.6484, allocations: 12 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.6485, allocations: 11.59 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.928e-05/0.6486, allocations: 55.86 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.794e-05/0.6486, allocations: 65.58 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.6489, allocations: 173.2 kB / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6489, allocations: 0 / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6489, allocations: 0 / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6489, allocations: 0.6562 kB / 1.107 GB, free: 181.3 MB / 0.6823 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.001237/0.6502, allocations: 0.5746 MB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6502, allocations: 8.031 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.923e-05/0.6503, allocations: 44.8 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.76e-05/0.6504, allocations: 27.77 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.6507, allocations: 223.8 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.6508, allocations: 15.98 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.6508, allocations: 21.03 kB / 1.108 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.6512, allocations: 144.8 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6513, allocations: 1.062 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.6513, allocations: 4 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6513, allocations: 0 / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.6515, allocations: 44.72 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.6519, allocations: 301.2 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.6523, allocations: 129.4 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.6525, allocations: 52.83 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.6525, allocations: 0 / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.653, allocations: 206.1 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.6531, allocations: 0 / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0007739/0.6538, allocations: 257.1 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.6539, allocations: 63.39 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.6541, allocations: 221.4 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.6542, allocations: 38.27 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.6543, allocations: 90.14 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.6543, allocations: 47.44 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.6544, allocations: 8 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.6545, allocations: 334.2 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.6548, allocations: 92.17 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.6551, allocations: 137.3 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.6555, allocations: 157.6 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6555, allocations: 2.156 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009487/0.6564, allocations: 404 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.735e-05/0.6565, allocations: 71.39 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6565, allocations: 4.719 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6566, allocations: 4 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.6568, allocations: 27.91 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.6569, allocations: 4.75 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008515/0.6577, allocations: 74.05 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.6578, allocations: 47.92 kB / 1.11 GB, free: 177.2 MB / 0.6823 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.0002281/0.6581, allocations: 162.4 kB / 1.111 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.6581, allocations: 19.81 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/0.6582, allocations: 25.86 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6582, allocations: 0.8906 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6582, allocations: 8.375 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6582, allocations: 0 / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.6592, allocations: 0.5304 MB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6592, allocations: 0 / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.6593, allocations: 11.98 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.6593, allocations: 0 / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.6593, allocations: 11.98 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.6593, allocations: 5.125 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6594, allocations: 2.75 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.6599, allocations: 315 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.6601, allocations: 139.1 kB / 1.112 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.6602, allocations: 15.98 kB / 1.112 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.6605, allocations: 6.594 kB / 1.112 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.6606, allocations: 19.97 kB / 1.112 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/0.6607, allocations: 23.98 kB / 1.112 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001607/0.6608, allocations: 164.5 kB / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6608, allocations: 0 / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004439/0.6613, allocations: 55.14 kB / 1.112 GB, free: 175.6 MB / 0.6823 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.0008083/0.6621, allocations: 0.8591 MB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007108/0.6629, allocations: 353.5 kB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6629, allocations: 0 / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.6631, allocations: 63.95 kB / 1.113 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.6635, allocations: 24.64 kB / 1.113 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.6658, allocations: 1.033 MB / 1.114 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.6661, allocations: 0.727 MB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.6662, allocations: 34.17 kB / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.6664, allocations: 42.86 kB / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of SimCode: time 9.31e-07/0.6664, allocations: 0 / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.6911, allocations: 4.592 MB / 1.119 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.6913, allocations: 191 kB / 1.12 GB, free: 168 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.087, allocations: 0 / 1.12 GB, free: 168 MB / 0.6823 GB