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.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.008/4.008, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.681e-05, allocations: 4.766 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2128, allocations: 98.73 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2625/0.4755, allocations: 125.6 MB / 0.7515 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.4758, allocations: 75.94 kB / 0.7516 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02153/0.4973, allocations: 4.155 MB / 0.7556 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4974, allocations: 4 kB / 0.7556 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.4974, allocations: 0 / 0.7556 GB, free: 7.164 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.001214/0.4987, allocations: 0.5522 MB / 0.7562 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.4987, allocations: 12.02 kB / 0.7562 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.4989, allocations: 31.67 kB / 0.7562 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.4991, allocations: 188 kB / 0.7564 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.4991, allocations: 4 kB / 0.7564 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.4992, allocations: 19.98 kB / 0.7564 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001722/0.4994, allocations: 43.98 kB / 0.7565 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.4998, allocations: 121.6 kB / 0.7566 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4998, allocations: 3.938 kB / 0.7566 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.4998, allocations: 11.92 kB / 0.7566 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4999, allocations: 0 / 0.7566 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.5004, allocations: 281.8 kB / 0.7569 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.5007, allocations: 118.7 kB / 0.757 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.5009, allocations: 52.86 kB / 0.757 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.5009, allocations: 4 kB / 0.757 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005289/0.5014, allocations: 195.1 kB / 0.7572 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.375e-06/0.5015, allocations: 0 / 0.7572 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0006337/0.5021, allocations: 198.7 kB / 0.7574 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.5022, allocations: 63.41 kB / 0.7575 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.5025, allocations: 191 kB / 0.7577 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.992e-05/0.5026, allocations: 33.7 kB / 0.7577 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.5027, allocations: 84.92 kB / 0.7578 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.5028, allocations: 43.45 kB / 0.7578 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.5029, allocations: 4 kB / 0.7578 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.503, allocations: 334.7 kB / 0.7581 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.5033, allocations: 80.2 kB / 0.7582 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.5037, allocations: 142.2 kB / 0.7583 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.5039, allocations: 68.69 kB / 0.7584 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.504, allocations: 4 kB / 0.7584 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009369/0.5049, allocations: 306.1 kB / 0.7587 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.505, allocations: 71.39 kB / 0.7588 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.5051, allocations: 7.984 kB / 0.7588 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.5051, allocations: 0 / 0.7588 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.5054, allocations: 23.92 kB / 0.7588 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.5054, allocations: 4 kB / 0.7588 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/0.506, allocations: 48.06 kB / 0.7589 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.5062, allocations: 39.98 kB / 0.7589 GB, free: 3.574 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.0002242/0.5064, allocations: 131.1 kB / 0.759 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005526/0.507, allocations: 191.7 kB / 0.7592 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.507, allocations: 23.7 kB / 0.7592 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.627e-05/0.5071, allocations: 29.95 kB / 0.7592 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.5071, allocations: 3.938 kB / 0.7593 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5072, allocations: 3.938 kB / 0.7593 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.5072, allocations: 4 kB / 0.7593 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5082, allocations: 0.491 MB / 0.7597 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5083, allocations: 0 / 0.7597 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.5084, allocations: 8 kB / 0.7597 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5084, allocations: 0 / 0.7597 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.5084, allocations: 15.97 kB / 0.7598 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5084, allocations: 4 kB / 0.7598 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.5085, allocations: 0 / 0.7598 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.509, allocations: 299.8 kB / 0.7601 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.5093, allocations: 140.7 kB / 0.7602 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.5093, allocations: 4 kB / 0.7602 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.5096, allocations: 15.98 kB / 0.7602 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.5097, allocations: 15.97 kB / 0.7602 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/0.5098, allocations: 27.98 kB / 0.7602 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001951/0.51, allocations: 153.6 kB / 0.7604 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.51, allocations: 0 / 0.7604 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00057/0.5106, allocations: 44 kB / 0.7604 GB, free: 1.906 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.0009552/0.5116, allocations: 0.8477 MB / 0.7613 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007326/0.5123, allocations: 326.8 kB / 0.7616 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5123, allocations: 3.938 kB / 0.7616 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.5125, allocations: 67.91 kB / 0.7616 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.5128, allocations: 16.66 kB / 0.7617 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.5138, allocations: 267.4 kB / 0.7619 GB, free: 312 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.5142, allocations: 0.7318 MB / 0.7626 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000256/0.5145, allocations: 33.2 kB / 0.7627 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.5147, allocations: 39.36 kB / 0.7627 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of SimCode: time 9.01e-07/0.5147, allocations: 0 / 0.7627 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.5594, allocations: 4.52 MB / 0.7671 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/0.5598, allocations: 144.1 kB / 0.7673 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/2.907, allocations: 0 / 0.7673 GB, free: 10.79 MB / 0.6511 GB