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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.01117/0.01117, allocations: 107 kB / 15.05 MB, free: 5.98 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.001285/0.001284, allocations: 184.3 kB / 15.94 MB, free: 5.938 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.216/2.216, allocations: 194.5 MB / 211.2 MB, free: 11.09 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.524/2.524, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005008, allocations: 12 kB / 0.5871 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6554, allocations: 98.71 MB / 0.6835 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2487/0.9042, allocations: 126.7 MB / 0.8072 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/0.9046, allocations: 79.94 kB / 0.8073 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02701/0.9317, allocations: 4.9 MB / 0.812 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9317, allocations: 0 / 0.812 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.9317, allocations: 4 kB / 0.8121 GB, free: 10.49 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.001319/0.9331, allocations: 0.5992 MB / 0.8126 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.9331, allocations: 12.03 kB / 0.8126 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.234e-05/0.9332, allocations: 46.55 kB / 0.8127 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.9334, allocations: 27.77 kB / 0.8127 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.9336, allocations: 201.7 kB / 0.8129 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.9336, allocations: 16 kB / 0.8129 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.9338, allocations: 19.98 kB / 0.8129 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.9343, allocations: 162.2 kB / 0.8131 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.9343, allocations: 0 / 0.8131 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.9343, allocations: 4 kB / 0.8131 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.9344, allocations: 0 / 0.8131 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.9346, allocations: 67.95 kB / 0.8132 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.9363, allocations: 0.5665 MB / 0.8137 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.9368, allocations: 126.7 kB / 0.8138 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.9368, allocations: 11.92 kB / 0.8139 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005704/0.9374, allocations: 204.9 kB / 0.8141 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.525e-06/0.9374, allocations: 0 / 0.8141 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0009233/0.9383, allocations: 275.6 kB / 0.8143 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.9384, allocations: 63.53 kB / 0.8144 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.9388, allocations: 232 kB / 0.8146 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.984e-05/0.9389, allocations: 41.64 kB / 0.8146 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.939, allocations: 93.14 kB / 0.8147 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/0.9391, allocations: 47.48 kB / 0.8148 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.9392, allocations: 8 kB / 0.8148 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9393, allocations: 322.8 kB / 0.8151 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.9398, allocations: 116.2 kB / 0.8152 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.9403, allocations: 172 kB / 0.8154 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/0.9408, allocations: 166.5 kB / 0.8155 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9408, allocations: 0 / 0.8155 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001309/0.9421, allocations: 443.1 kB / 0.8159 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.9422, allocations: 75.39 kB / 0.816 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.9423, allocations: 4 kB / 0.816 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.9423, allocations: 4 kB / 0.816 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.9425, allocations: 27.91 kB / 0.816 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.9426, allocations: 4 kB / 0.8161 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.9432, allocations: 55.95 kB / 0.8161 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.9433, allocations: 43.98 kB / 0.8161 GB, free: 5.992 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.0002836/0.9436, allocations: 179.6 kB / 0.8163 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.9437, allocations: 19.72 kB / 0.8163 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.9438, allocations: 26.17 kB / 0.8164 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.9438, allocations: 4 kB / 0.8164 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9438, allocations: 0 / 0.8164 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.9438, allocations: 0 / 0.8164 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.945, allocations: 0.5762 MB / 0.8169 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.945, allocations: 4 kB / 0.8169 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.9451, allocations: 11.98 kB / 0.8169 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.9451, allocations: 0 / 0.8169 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.9451, allocations: 11.98 kB / 0.817 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.9451, allocations: 0 / 0.817 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9451, allocations: 3.953 kB / 0.817 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006817/0.9458, allocations: 329 kB / 0.8173 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.9461, allocations: 148.8 kB / 0.8174 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/0.9462, allocations: 12 kB / 0.8174 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.9465, allocations: 15.92 kB / 0.8174 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.9466, allocations: 23.92 kB / 0.8175 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.9466, allocations: 19.98 kB / 0.8175 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002523/0.9469, allocations: 180.5 kB / 0.8177 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9469, allocations: 0 / 0.8177 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004952/0.9474, allocations: 56.16 kB / 0.8177 GB, free: 4.297 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.001102/0.9485, allocations: 0.8796 MB / 0.8186 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009904/0.9495, allocations: 368.6 kB / 0.8189 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.9496, allocations: 8.375 kB / 0.8189 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.9498, allocations: 75.89 kB / 0.819 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.9502, allocations: 31.39 kB / 0.819 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.9519, allocations: 1.563 MB / 0.8206 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.9523, allocations: 0.7477 MB / 0.8213 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.9526, allocations: 33.42 kB / 0.8213 GB, free: 464 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.9528, allocations: 51.41 kB / 0.8214 GB, free: 412 kB / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/0.9528, allocations: 0 / 0.8214 GB, free: 412 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.9799, allocations: 5.531 MB / 0.8268 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003189/0.9803, allocations: 216.9 kB / 0.827 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.438, allocations: 0 / 0.827 GB, free: 10.8 MB / 0.6511 GB