Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.923/3.923, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.671e-05, allocations: 2.312 kB / 0.5325 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2397, allocations: 98.73 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2708/0.5106, allocations: 125.6 MB / 0.7516 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.511, allocations: 71.95 kB / 0.7516 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0221/0.5331, allocations: 4.164 MB / 0.7557 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5332, allocations: 0 / 0.7557 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.5332, allocations: 4 kB / 0.7557 GB, free: 7.086 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00136/0.5346, allocations: 0.5555 MB / 0.7563 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.5347, allocations: 8.031 kB / 0.7563 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.5349, allocations: 31.67 kB / 0.7563 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.5352, allocations: 184 kB / 0.7565 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.5352, allocations: 7.938 kB / 0.7565 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.5354, allocations: 19.98 kB / 0.7565 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001686/0.5355, allocations: 43.98 kB / 0.7565 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.5359, allocations: 129.5 kB / 0.7567 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5359, allocations: 3.938 kB / 0.7567 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.536, allocations: 8 kB / 0.7567 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.536, allocations: 0 / 0.7567 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.5365, allocations: 281.8 kB / 0.7569 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.5369, allocations: 110.7 kB / 0.757 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.5371, allocations: 48.86 kB / 0.7571 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.5371, allocations: 3.984 kB / 0.7571 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000525/0.5376, allocations: 199.1 kB / 0.7573 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.605e-06/0.5377, allocations: 0 / 0.7573 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0006552/0.5383, allocations: 197.3 kB / 0.7575 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.5384, allocations: 59.41 kB / 0.7575 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.5387, allocations: 191 kB / 0.7577 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.723e-05/0.5388, allocations: 33.7 kB / 0.7577 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.5389, allocations: 84.92 kB / 0.7578 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.5e-05/0.539, allocations: 55.31 kB / 0.7579 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.539, allocations: 11.98 kB / 0.7579 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5392, allocations: 330.8 kB / 0.7582 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.5395, allocations: 76.22 kB / 0.7583 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.5399, allocations: 130.2 kB / 0.7584 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.5403, allocations: 76.69 kB / 0.7585 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.5403, allocations: 0 / 0.7585 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009902/0.5413, allocations: 302.1 kB / 0.7588 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.892e-05/0.5414, allocations: 75.38 kB / 0.7588 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.5414, allocations: 0 / 0.7588 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5415, allocations: 4.188 kB / 0.7588 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.5417, allocations: 31.92 kB / 0.7589 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.5418, allocations: 7.984 kB / 0.7589 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.5424, allocations: 43.88 kB / 0.7589 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5425, allocations: 39.98 kB / 0.759 GB, free: 3.496 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete 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.0001987/0.5427, allocations: 143 kB / 0.7591 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004924/0.5432, allocations: 190.9 kB / 0.7593 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.5433, allocations: 23.7 kB / 0.7593 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.838e-05/0.5434, allocations: 21.97 kB / 0.7593 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5434, allocations: 3.938 kB / 0.7593 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5434, allocations: 0 / 0.7593 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5435, allocations: 3.984 kB / 0.7593 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.5445, allocations: 499.6 kB / 0.7598 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5445, allocations: 4 kB / 0.7598 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.5446, allocations: 7.938 kB / 0.7598 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.5446, allocations: 4 kB / 0.7598 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.5446, allocations: 15.97 kB / 0.7598 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5447, allocations: 3.938 kB / 0.7598 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5447, allocations: 0 / 0.7598 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.5452, allocations: 297.6 kB / 0.7601 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.5455, allocations: 140.7 kB / 0.7603 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.5456, allocations: 7.984 kB / 0.7603 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.5459, allocations: 16 kB / 0.7603 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.546, allocations: 11.97 kB / 0.7603 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.546, allocations: 27.98 kB / 0.7603 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001974/0.5462, allocations: 153.6 kB / 0.7605 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.816e-06/0.5462, allocations: 0 / 0.7605 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005598/0.5468, allocations: 47.94 kB / 0.7605 GB, free: 1.824 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * 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.0009796/0.5478, allocations: 0.849 MB / 0.7613 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007521/0.5486, allocations: 333.5 kB / 0.7617 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5486, allocations: 0 / 0.7617 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.5488, allocations: 59.98 kB / 0.7617 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.5492, allocations: 17.55 kB / 0.7617 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009429/0.5501, allocations: 267 kB / 0.762 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.5505, allocations: 0.7318 MB / 0.7627 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001973/0.5508, allocations: 33.2 kB / 0.7627 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.5509, allocations: 35.42 kB / 0.7628 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.042e-06/0.551, allocations: 4 kB / 0.7628 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.6003, allocations: 4.51 MB / 0.7672 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/0.6006, allocations: 149 kB / 0.7673 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.908, allocations: 0 / 0.7673 GB, free: 10.72 MB / 0.6511 GB