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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.944/3.944, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.028e-05, allocations: 2.125 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.214, allocations: 98.74 MB / 0.6289 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2346/0.4486, allocations: 125.6 MB / 0.7516 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.449, allocations: 71.95 kB / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02258/0.4716, allocations: 4.17 MB / 0.7557 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4716, allocations: 4 kB / 0.7557 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.4717, allocations: 4 kB / 0.7557 GB, free: 7.117 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.001405/0.4731, allocations: 0.5484 MB / 0.7563 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.4731, allocations: 8.031 kB / 0.7563 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.4733, allocations: 31.67 kB / 0.7563 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.4736, allocations: 184 kB / 0.7565 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.4736, allocations: 8 kB / 0.7565 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.4738, allocations: 12 kB / 0.7565 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002142/0.474, allocations: 43.98 kB / 0.7565 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.4744, allocations: 141.4 kB / 0.7567 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4744, allocations: 0 / 0.7567 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.4745, allocations: 0 / 0.7567 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4745, allocations: 4 kB / 0.7567 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006018/0.4751, allocations: 289.8 kB / 0.7569 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.4755, allocations: 114.7 kB / 0.7571 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.4757, allocations: 48.84 kB / 0.7571 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.4758, allocations: 4 kB / 0.7571 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000681/0.4765, allocations: 201.1 kB / 0.7573 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.785e-06/0.4765, allocations: 0 / 0.7573 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0008047/0.4773, allocations: 193.3 kB / 0.7575 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.4774, allocations: 63.39 kB / 0.7575 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.4778, allocations: 191 kB / 0.7577 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.4779, allocations: 37.7 kB / 0.7578 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.478, allocations: 88.91 kB / 0.7578 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/0.4781, allocations: 47.39 kB / 0.7579 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.4782, allocations: 0 / 0.7579 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4784, allocations: 330.7 kB / 0.7582 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.4788, allocations: 88.16 kB / 0.7583 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.4793, allocations: 134.2 kB / 0.7584 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.4796, allocations: 64.7 kB / 0.7585 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4796, allocations: 4 kB / 0.7585 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001252/0.4809, allocations: 311.7 kB / 0.7588 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.481, allocations: 75.39 kB / 0.7588 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.481, allocations: 0 / 0.7588 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.4811, allocations: 4 kB / 0.7589 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.4814, allocations: 27.91 kB / 0.7589 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.4814, allocations: 0 / 0.7589 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000797/0.4822, allocations: 48.06 kB / 0.7589 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.4824, allocations: 43.98 kB / 0.759 GB, free: 3.523 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.0002439/0.4827, allocations: 123.1 kB / 0.7591 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006663/0.4834, allocations: 195 kB / 0.7593 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.4834, allocations: 23.72 kB / 0.7593 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.4836, allocations: 25.89 kB / 0.7593 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.4836, allocations: 4 kB / 0.7593 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4836, allocations: 4 kB / 0.7593 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4836, allocations: 3.938 kB / 0.7593 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.4849, allocations: 494.8 kB / 0.7598 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.485, allocations: 4 kB / 0.7598 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.479e-05/0.4851, allocations: 7.984 kB / 0.7598 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.4851, allocations: 0 / 0.7598 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.4852, allocations: 15.92 kB / 0.7598 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4852, allocations: 0 / 0.7598 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4852, allocations: 0 / 0.7598 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007221/0.4859, allocations: 304.4 kB / 0.7601 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/0.4862, allocations: 140.7 kB / 0.7603 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.4864, allocations: 8 kB / 0.7603 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.4867, allocations: 7.984 kB / 0.7603 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.4869, allocations: 15.98 kB / 0.7603 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.173e-05/0.487, allocations: 27.97 kB / 0.7603 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002561/0.4872, allocations: 153.6 kB / 0.7605 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.11e-07/0.4872, allocations: 4 kB / 0.7605 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008428/0.4881, allocations: 43.98 kB / 0.7605 GB, free: 1.867 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.001328/0.4894, allocations: 0.8545 MB / 0.7613 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.4905, allocations: 330.9 kB / 0.7617 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4906, allocations: 0 / 0.7617 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.4908, allocations: 59.98 kB / 0.7617 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.4913, allocations: 16.66 kB / 0.7617 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.4927, allocations: 278.9 kB / 0.762 GB, free: 264 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.4933, allocations: 0.732 MB / 0.7627 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002823/0.4936, allocations: 29.2 kB / 0.7627 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.4939, allocations: 47.41 kB / 0.7628 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/0.4939, allocations: 0 / 0.7628 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07504/0.569, allocations: 4.503 MB / 0.7672 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003273/0.5694, allocations: 156.3 kB / 0.7673 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/2.886, allocations: 0 / 0.7673 GB, free: 10.75 MB / 0.6511 GB