Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01023/0.01024, allocations: 86.69 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001171/0.001172, allocations: 172.6 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.018/2.018, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.49/2.49, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004699/0.00047, allocations: 11.03 kB / 0.6243 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2274, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002044/0.2295, allocations: 1.186 MB / 0.7292 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2308, allocations: 399.7 kB / 0.7296 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.2309, allocations: 0 / 0.7296 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.2309, allocations: 3.938 kB / 0.7296 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.2311, allocations: 27.89 kB / 0.7296 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008802/0.2319, allocations: 211.6 kB / 0.7298 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.2323, allocations: 147.8 kB / 0.73 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.346e-05/0.2323, allocations: 11.98 kB / 0.73 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.2327, allocations: 167.6 kB / 0.7301 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.233, allocations: 123.7 kB / 0.7303 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.2331, allocations: 15.98 kB / 0.7303 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.2332, allocations: 8 kB / 0.7303 GB, free: 7.863 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.2334, allocations: 75.8 kB / 0.7303 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2335, allocations: 65.64 kB / 0.7304 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.2338, allocations: 199.8 kB / 0.7306 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2339, allocations: 3.938 kB / 0.7306 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2339, allocations: 0 / 0.7306 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2339, allocations: 4 kB / 0.7306 GB, free: 7.516 MB / 0.5573 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.001531/0.2354, allocations: 0.6064 MB / 0.7312 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.2355, allocations: 12.03 kB / 0.7312 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.309e-05/0.2356, allocations: 42.55 kB / 0.7313 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.2357, allocations: 35.58 kB / 0.7313 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.2361, allocations: 250.5 kB / 0.7315 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.2362, allocations: 12 kB / 0.7315 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.353e-05/0.2363, allocations: 20 kB / 0.7316 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.2368, allocations: 149.5 kB / 0.7317 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2368, allocations: 0 / 0.7317 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.2368, allocations: 11.98 kB / 0.7317 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2369, allocations: 4 kB / 0.7317 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.2371, allocations: 47.92 kB / 0.7318 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.2376, allocations: 309.3 kB / 0.7321 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.2381, allocations: 126.7 kB / 0.7322 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.2381, allocations: 0 / 0.7322 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006844/0.2388, allocations: 216.2 kB / 0.7324 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 2.424e-06/0.2388, allocations: 4 kB / 0.7324 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.000918/0.2397, allocations: 269 kB / 0.7326 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.2398, allocations: 67.38 kB / 0.7327 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.2403, allocations: 291 kB / 0.733 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.162e-05/0.2404, allocations: 37.7 kB / 0.733 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.2405, allocations: 97.06 kB / 0.7331 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.2405, allocations: 39.45 kB / 0.7332 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.2406, allocations: 12 kB / 0.7332 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2408, allocations: 322.8 kB / 0.7335 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.2412, allocations: 96.17 kB / 0.7336 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.2416, allocations: 148.4 kB / 0.7337 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.242, allocations: 154.3 kB / 0.7338 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.242, allocations: 0 / 0.7338 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001127/0.2431, allocations: 415.1 kB / 0.7342 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/0.2432, allocations: 78.36 kB / 0.7343 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2433, allocations: 7.938 kB / 0.7343 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2433, allocations: 0 / 0.7343 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.2436, allocations: 31.91 kB / 0.7344 GB, free: 3.371 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2436, allocations: 0 / 0.7344 GB, free: 3.371 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000922/0.2445, allocations: 75.98 kB / 0.7344 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.2447, allocations: 51.98 kB / 0.7345 GB, free: 3.246 MB / 0.5573 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.0003016/0.245, allocations: 177.7 kB / 0.7347 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.2451, allocations: 23.72 kB / 0.7347 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.298e-05/0.2452, allocations: 30.25 kB / 0.7347 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2452, allocations: 4 kB / 0.7347 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2452, allocations: 7.938 kB / 0.7347 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2452, allocations: 0 / 0.7347 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.2466, allocations: 0.5606 MB / 0.7353 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2466, allocations: 0 / 0.7353 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.2467, allocations: 15.98 kB / 0.7353 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.2467, allocations: 0 / 0.7353 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.2467, allocations: 7.984 kB / 0.7353 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.2468, allocations: 4 kB / 0.7353 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.2468, allocations: 4 kB / 0.7353 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.2474, allocations: 323 kB / 0.7356 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.2477, allocations: 160.6 kB / 0.7358 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.623e-05/0.2478, allocations: 11.98 kB / 0.7358 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.2482, allocations: 11.98 kB / 0.7358 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.2483, allocations: 19.98 kB / 0.7358 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/0.2484, allocations: 31.97 kB / 0.7358 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002836/0.2486, allocations: 209.9 kB / 0.736 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2487, allocations: 0 / 0.736 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004951/0.2492, allocations: 51.98 kB / 0.7361 GB, free: 1.516 MB / 0.5573 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.001036/0.2502, allocations: 0.8695 MB / 0.7369 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008634/0.2511, allocations: 346.8 kB / 0.7373 GB, free: 260 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2511, allocations: 0 / 0.7373 GB, free: 260 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.2514, allocations: 71.88 kB / 0.7373 GB, free: 188 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.2518, allocations: 20.86 kB / 0.7373 GB, free: 164 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.2537, allocations: 1.607 MB / 0.7389 GB, free: 14.47 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.2541, allocations: 0.7477 MB / 0.7396 GB, free: 13.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.2544, allocations: 37.42 kB / 0.7397 GB, free: 13.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.2546, allocations: 47.34 kB / 0.7397 GB, free: 13.62 MB / 0.573 GB Notification: Performance of SimCode: time 1.202e-06/0.2546, allocations: 4 kB / 0.7397 GB, free: 13.61 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.2874, allocations: 4.967 MB / 0.7446 GB, free: 8.762 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003291/0.2878, allocations: 174.5 kB / 0.7447 GB, free: 8.527 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/2.728, allocations: 2.531 kB / 0.7447 GB, free: 8.527 MB / 0.573 GB