Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") 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: 221 kB / 15.17 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.001622/0.001622, allocations: 181.1 kB / 16.06 MB, free: 5.828 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.926/3.926, allocations: 389.1 MB / 405.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.929/3.929, allocations: 472.3 MB / 0.9018 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004818, allocations: 14.66 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 98.74 MB / 1.104 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001499/0.1333, allocations: 1.34 MB / 1.105 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.1341, allocations: 431.8 kB / 1.106 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.1342, allocations: 3.375 kB / 1.106 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.1343, allocations: 7.922 kB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1344, allocations: 23.91 kB / 1.106 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.1351, allocations: 209.3 kB / 1.106 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.1354, allocations: 303.5 kB / 1.106 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.1355, allocations: 27.8 kB / 1.106 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.1357, allocations: 155.6 kB / 1.106 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1359, allocations: 131.7 kB / 1.107 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.136, allocations: 8 kB / 1.107 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.444e-05/0.1361, allocations: 8 kB / 1.107 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.1362, allocations: 59.86 kB / 1.107 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.1363, allocations: 69.58 kB / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.1365, allocations: 271.6 kB / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1365, allocations: 7.594 kB / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.876e-06/0.1365, allocations: 0 / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.1366, allocations: 0 / 1.107 GB, free: 38.93 MB / 0.6042 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.0009603/0.1375, allocations: 0.6025 MB / 1.108 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1376, allocations: 12.03 kB / 1.108 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.664e-05/0.1377, allocations: 23.81 kB / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.138, allocations: 253.4 kB / 1.108 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/0.138, allocations: 15.94 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.1381, allocations: 19.98 kB / 1.108 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1385, allocations: 169.1 kB / 1.108 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1385, allocations: 0 / 1.108 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.1386, allocations: 0 / 1.108 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.891e-06/0.1386, allocations: 4 kB / 1.108 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.1388, allocations: 59.91 kB / 1.108 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1399, allocations: 0.5407 MB / 1.109 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.1402, allocations: 140 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1404, allocations: 64.08 kB / 1.109 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1405, allocations: 4 kB / 1.109 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004812/0.1409, allocations: 219.1 kB / 1.109 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.793e-06/0.141, allocations: 0 / 1.109 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006783/0.1417, allocations: 269.2 kB / 1.109 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1417, allocations: 70.64 kB / 1.109 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1419, allocations: 244.9 kB / 1.11 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.142, allocations: 41.7 kB / 1.11 GB, free: 36.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.1421, allocations: 101.1 kB / 1.11 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.1422, allocations: 35.52 kB / 1.11 GB, free: 35.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1422, allocations: 8 kB / 1.11 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.1423, allocations: 322.8 kB / 1.11 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.1426, allocations: 110.2 kB / 1.11 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.1429, allocations: 156.2 kB / 1.11 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.1432, allocations: 163.5 kB / 1.111 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.422e-06/0.1432, allocations: 0 / 1.111 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008496/0.144, allocations: 425.8 kB / 1.111 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.1441, allocations: 79.38 kB / 1.111 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.634e-06/0.1441, allocations: 7.953 kB / 1.111 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1442, allocations: 4 kB / 1.111 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.1444, allocations: 23.92 kB / 1.111 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.242e-06/0.1444, allocations: 0 / 1.111 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.145, allocations: 81.17 kB / 1.111 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/0.1451, allocations: 43.97 kB / 1.111 GB, free: 34.42 MB / 0.6042 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.0001988/0.1453, allocations: 167.3 kB / 1.111 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.1453, allocations: 27.7 kB / 1.111 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.1454, allocations: 23.97 kB / 1.111 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.122e-06/0.1454, allocations: 6.547 kB / 1.111 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.73e-06/0.1454, allocations: 0 / 1.111 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.955e-06/0.1454, allocations: 3.984 kB / 1.111 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.1463, allocations: 0.5647 MB / 1.112 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-06/0.1463, allocations: 0 / 1.112 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.1464, allocations: 18.97 kB / 1.112 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.517e-06/0.1464, allocations: 3.938 kB / 1.112 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.1464, allocations: 11.98 kB / 1.112 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.503e-06/0.1464, allocations: 4 kB / 1.112 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.797e-06/0.1464, allocations: 0 / 1.112 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.1469, allocations: 314.8 kB / 1.112 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.1471, allocations: 165.4 kB / 1.112 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.1472, allocations: 15.95 kB / 1.112 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.1475, allocations: 13.89 kB / 1.112 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.1475, allocations: 19.91 kB / 1.112 GB, free: 32.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.1476, allocations: 27.98 kB / 1.113 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001725/0.1478, allocations: 179.5 kB / 1.113 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.78e-07/0.1478, allocations: 3.938 kB / 1.113 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004282/0.1482, allocations: 44 kB / 1.113 GB, free: 32.75 MB / 0.6042 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.0001497/0.1484, allocations: 136 kB / 1.113 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006112/0.149, allocations: 354.3 kB / 1.113 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.697e-06/0.149, allocations: 4 kB / 1.113 GB, free: 32.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.1492, allocations: 71.81 kB / 1.113 GB, free: 32.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.1497, allocations: 35.66 kB / 1.113 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000678/0.1504, allocations: 405 kB / 1.114 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.1506, allocations: 0.7431 MB / 1.114 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001675/0.1507, allocations: 34.33 kB / 1.114 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.1509, allocations: 31.67 kB / 1.114 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.323e-06/0.1509, allocations: 0 / 1.114 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.008351/0.1593, allocations: 3.908 MB / 1.118 GB, free: 27.24 MB / 0.6042 GB