Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.01476/0.01477, allocations: 88.36 kB / 15.04 MB, free: 5.582 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.002168/0.002168, allocations: 171.5 kB / 15.92 MB, free: 5.555 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.215/2.215, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.497/2.497, allocations: 252.8 MB / 0.511 GB, free: 8.379 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005411/0.0005412, allocations: 16.03 kB / 0.6244 GB, free: 21.12 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2441, allocations: 106.2 MB / 0.7281 GB, free: 8.137 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002832/0.247, allocations: 1.375 MB / 0.7294 GB, free: 6.746 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.2487, allocations: 455.7 kB / 0.7299 GB, free: 6.301 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.2489, allocations: 0 / 0.7299 GB, free: 6.301 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 6.274e-05/0.2489, allocations: 3.938 kB / 0.7299 GB, free: 6.297 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.2491, allocations: 27.95 kB / 0.7299 GB, free: 6.27 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.2503, allocations: 211.5 kB / 0.7301 GB, free: 6.062 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.2508, allocations: 183.7 kB / 0.7303 GB, free: 5.883 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.251, allocations: 25.44 kB / 0.7303 GB, free: 5.855 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004525/0.2514, allocations: 175.5 kB / 0.7305 GB, free: 5.684 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.2518, allocations: 123.7 kB / 0.7306 GB, free: 5.562 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 8.935e-05/0.2519, allocations: 8 kB / 0.7306 GB, free: 5.555 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.252, allocations: 12 kB / 0.7306 GB, free: 5.543 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.2522, allocations: 79.72 kB / 0.7307 GB, free: 5.465 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.2523, allocations: 81.56 kB / 0.7308 GB, free: 5.379 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.2528, allocations: 319.4 kB / 0.7311 GB, free: 5.066 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2528, allocations: 4 kB / 0.7311 GB, free: 5.062 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2528, allocations: 0 / 0.7311 GB, free: 5.062 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2528, allocations: 0 / 0.7311 GB, free: 5.062 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001708/0.2546, allocations: 0.6414 MB / 0.7317 GB, free: 4.348 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.2546, allocations: 12.03 kB / 0.7317 GB, free: 4.336 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.852e-05/0.2548, allocations: 42.55 kB / 0.7317 GB, free: 4.285 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.2549, allocations: 35.62 kB / 0.7318 GB, free: 4.25 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.2554, allocations: 275.1 kB / 0.732 GB, free: 3.938 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.712e-05/0.2555, allocations: 19.98 kB / 0.7321 GB, free: 3.918 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2556, allocations: 16 kB / 0.7321 GB, free: 3.902 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.2562, allocations: 165.5 kB / 0.7322 GB, free: 3.734 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2563, allocations: 4 kB / 0.7322 GB, free: 3.73 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.2563, allocations: 4 kB / 0.7322 GB, free: 3.727 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2563, allocations: 0 / 0.7322 GB, free: 3.727 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.2566, allocations: 67.91 kB / 0.7323 GB, free: 3.66 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.2586, allocations: 0.5589 MB / 0.7329 GB, free: 3.051 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.2592, allocations: 130.7 kB / 0.733 GB, free: 2.914 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.2592, allocations: 8 kB / 0.733 GB, free: 2.906 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000762/0.26, allocations: 232.2 kB / 0.7332 GB, free: 2.668 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=18): time 2.686e-06/0.26, allocations: 7.938 kB / 0.7332 GB, free: 2.66 MB / 0.5574 GB Notification: Performance of matching and sorting (n=18): time 0.001098/0.2611, allocations: 277.1 kB / 0.7335 GB, free: 2.383 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.2612, allocations: 59.41 kB / 0.7335 GB, free: 2.312 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.2618, allocations: 316.4 kB / 0.7338 GB, free: 1.992 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.2619, allocations: 41.69 kB / 0.7339 GB, free: 1.945 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.262, allocations: 97.05 kB / 0.734 GB, free: 1.848 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.2621, allocations: 47.44 kB / 0.734 GB, free: 1.801 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.2622, allocations: 8 kB / 0.734 GB, free: 1.793 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2624, allocations: 326.8 kB / 0.7343 GB, free: 1.465 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.2628, allocations: 104.2 kB / 0.7344 GB, free: 1.359 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.2633, allocations: 167.4 kB / 0.7346 GB, free: 1.176 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.2637, allocations: 162.8 kB / 0.7347 GB, free: 1.004 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2637, allocations: 4 kB / 0.7348 GB, free: 1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001302/0.265, allocations: 431.2 kB / 0.7352 GB, free: 0.5625 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.2652, allocations: 82.52 kB / 0.7352 GB, free: 484 kB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2652, allocations: 3.953 kB / 0.7352 GB, free: 480 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.2653, allocations: 4 kB / 0.7352 GB, free: 476 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.2656, allocations: 27.91 kB / 0.7353 GB, free: 448 kB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.2656, allocations: 8.125 kB / 0.7353 GB, free: 440 kB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009603/0.2666, allocations: 67.86 kB / 0.7353 GB, free: 372 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.2667, allocations: 59.92 kB / 0.7354 GB, free: 312 kB / 0.5574 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.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.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.000367/0.2671, allocations: 193.7 kB / 0.7356 GB, free: 108 kB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.2672, allocations: 31.62 kB / 0.7356 GB, free: 76 kB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.2673, allocations: 30.36 kB / 0.7356 GB, free: 44 kB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.2673, allocations: 7.953 kB / 0.7357 GB, free: 36 kB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2674, allocations: 4 kB / 0.7357 GB, free: 32 kB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2674, allocations: 3.984 kB / 0.7357 GB, free: 28 kB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.2688, allocations: 0.588 MB / 0.7362 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2688, allocations: 4 kB / 0.7362 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.383e-05/0.2689, allocations: 11.95 kB / 0.7363 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2689, allocations: 0 / 0.7363 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.269, allocations: 19.97 kB / 0.7363 GB, free: 15.35 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.269, allocations: 0 / 0.7363 GB, free: 15.35 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.269, allocations: 3.938 kB / 0.7363 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.2698, allocations: 319.1 kB / 0.7366 GB, free: 15.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/0.2702, allocations: 184.6 kB / 0.7368 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.2703, allocations: 19.95 kB / 0.7368 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.2707, allocations: 15.98 kB / 0.7368 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/0.2708, allocations: 23.91 kB / 0.7368 GB, free: 14.76 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.167e-05/0.2709, allocations: 27.98 kB / 0.7368 GB, free: 14.73 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003824/0.2713, allocations: 227 kB / 0.7371 GB, free: 14.51 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2713, allocations: 0 / 0.7371 GB, free: 14.51 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005709/0.2719, allocations: 48 kB / 0.7371 GB, free: 14.46 MB / 0.573 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 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.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.001291/0.2732, allocations: 0.8928 MB / 0.738 GB, free: 13.54 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.2743, allocations: 366.7 kB / 0.7383 GB, free: 13.16 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.2743, allocations: 0 / 0.7383 GB, free: 13.16 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.2746, allocations: 75.89 kB / 0.7384 GB, free: 13.08 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.2751, allocations: 40.19 kB / 0.7384 GB, free: 13.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.2773, allocations: 1.651 MB / 0.74 GB, free: 11.32 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.2778, allocations: 0.7673 MB / 0.7408 GB, free: 10.53 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.2781, allocations: 33.42 kB / 0.7408 GB, free: 10.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.2784, allocations: 55.41 kB / 0.7409 GB, free: 10.45 MB / 0.573 GB Notification: Performance of SimCode: time 1.443e-06/0.2784, allocations: 0 / 0.7409 GB, free: 10.45 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.3092, allocations: 5.483 MB / 0.7462 GB, free: 5.105 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/0.3096, allocations: 215.2 kB / 0.7464 GB, free: 4.863 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.031, allocations: 0 / 0.7464 GB, free: 4.863 MB / 0.573 GB