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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",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.01597/0.01598, allocations: 107.8 kB / 15.05 MB, free: 5.934 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.001779/0.001779, allocations: 187.6 kB / 15.95 MB, free: 5.898 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 2.351/2.351, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.274/2.274, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004763, allocations: 19.98 kB / 0.5871 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7227/0.7232, allocations: 98.71 MB / 0.6835 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.9543, allocations: 126.7 MB / 0.8072 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.9548, allocations: 75.94 kB / 0.8073 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02419/0.979, allocations: 4.891 MB / 0.812 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.714e-06/0.979, allocations: 0 / 0.812 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.979, allocations: 4 kB / 0.8121 GB, free: 10.48 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001247/0.9803, allocations: 0.6031 MB / 0.8126 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.9804, allocations: 12.03 kB / 0.8127 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.866e-05/0.9804, allocations: 38.55 kB / 0.8127 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.9806, allocations: 31.77 kB / 0.8127 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.9808, allocations: 205.7 kB / 0.8129 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.9808, allocations: 12 kB / 0.8129 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.981, allocations: 19.94 kB / 0.8129 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.9814, allocations: 163.4 kB / 0.8131 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.9815, allocations: 7.984 kB / 0.8131 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.9815, allocations: 7.984 kB / 0.8131 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.9815, allocations: 4 kB / 0.8131 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.9818, allocations: 59.91 kB / 0.8132 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.9835, allocations: 0.5589 MB / 0.8137 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.984, allocations: 134.6 kB / 0.8139 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.984, allocations: 4 kB / 0.8139 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005942/0.9847, allocations: 208.8 kB / 0.8141 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.417e-06/0.9847, allocations: 0 / 0.8141 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0009753/0.9857, allocations: 271.5 kB / 0.8143 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.9857, allocations: 71.52 kB / 0.8144 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.9861, allocations: 228 kB / 0.8146 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.044e-05/0.9862, allocations: 41.7 kB / 0.8146 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.9863, allocations: 97.06 kB / 0.8147 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.9864, allocations: 39.52 kB / 0.8148 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.9865, allocations: 8 kB / 0.8148 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9866, allocations: 322.8 kB / 0.8151 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.9871, allocations: 116.2 kB / 0.8152 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.9877, allocations: 170.3 kB / 0.8154 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.9881, allocations: 164.1 kB / 0.8155 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9881, allocations: 0 / 0.8155 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001329/0.9895, allocations: 447.5 kB / 0.8159 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.355e-05/0.9896, allocations: 75.39 kB / 0.816 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.9896, allocations: 0 / 0.816 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.9896, allocations: 7.984 kB / 0.816 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.9899, allocations: 31.92 kB / 0.8161 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.99, allocations: 4 kB / 0.8161 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006333/0.9906, allocations: 52.02 kB / 0.8161 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.9907, allocations: 43.98 kB / 0.8161 GB, free: 5.98 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.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.0003097/0.991, allocations: 177.7 kB / 0.8163 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.9911, allocations: 23.72 kB / 0.8163 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/0.9912, allocations: 22.17 kB / 0.8164 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.9912, allocations: 4 kB / 0.8164 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9912, allocations: 4 kB / 0.8164 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9912, allocations: 0 / 0.8164 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.9925, allocations: 0.5724 MB / 0.8169 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9925, allocations: 3.938 kB / 0.8169 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.9926, allocations: 4 kB / 0.8169 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.9926, allocations: 4 kB / 0.8169 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.9926, allocations: 15.92 kB / 0.817 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.9926, allocations: 3.938 kB / 0.817 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9926, allocations: 7.938 kB / 0.817 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.9934, allocations: 321.4 kB / 0.8173 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.9936, allocations: 148.8 kB / 0.8174 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.9937, allocations: 15.98 kB / 0.8174 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.994, allocations: 8 kB / 0.8174 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.9941, allocations: 19.92 kB / 0.8175 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.9942, allocations: 27.98 kB / 0.8175 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002412/0.9944, allocations: 180.5 kB / 0.8177 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9945, allocations: 0 / 0.8177 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005351/0.995, allocations: 52.16 kB / 0.8177 GB, free: 4.289 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 (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.001143/0.9962, allocations: 0.8757 MB / 0.8186 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.9972, allocations: 388.7 kB / 0.8189 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.9973, allocations: 0 / 0.8189 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.9975, allocations: 71.91 kB / 0.819 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.9979, allocations: 24.42 kB / 0.819 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.9997, allocations: 1.568 MB / 0.8206 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/1, allocations: 0.7477 MB / 0.8213 GB, free: 488 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002095/1, allocations: 33.41 kB / 0.8213 GB, free: 452 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/1, allocations: 47.41 kB / 0.8214 GB, free: 404 kB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/1, allocations: 0 / 0.8214 GB, free: 404 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/1.03, allocations: 5.541 MB / 0.8268 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003657/1.03, allocations: 215.4 kB / 0.827 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.453, allocations: 4 kB / 0.827 GB, free: 10.78 MB / 0.6511 GB