Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.695/1.695, allocations: 306.1 MB / 321.3 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 179.5 kB / 393.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.7 MB / 0.6743 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008071/0.0008071, allocations: 95.36 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 8 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.5523, allocations: 121.3 MB / 1.041 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00154/0.5539, allocations: 1.189 MB / 1.042 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009266/0.5548, allocations: 0.7267 MB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.5549, allocations: 0.6562 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.33e-05/0.555, allocations: 6.562 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.49e-05/0.5551, allocations: 22.06 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.5557, allocations: 224.8 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.5561, allocations: 289.5 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.276e-05/0.5562, allocations: 7 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.5566, allocations: 224.1 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.5568, allocations: 119.9 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.5568, allocations: 10.03 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.5569, allocations: 10.44 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.557, allocations: 79.3 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.5572, allocations: 149.8 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.5575, allocations: 274.2 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5575, allocations: 0 / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5575, allocations: 0.9062 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.5575, allocations: 1.406 kB / 1.044 GB, free: 56.04 MB / 0.698 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.0009006/0.5584, allocations: 0.6111 MB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.5585, allocations: 9.5 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.5586, allocations: 32.73 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.5588, allocations: 269.8 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.5588, allocations: 13.48 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.5589, allocations: 17.14 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.5592, allocations: 149.7 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5592, allocations: 0 / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.5592, allocations: 3.344 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5592, allocations: 1.625 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.5594, allocations: 49.36 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.5597, allocations: 320 kB / 1.046 GB, free: 54.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.5599, allocations: 131 kB / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.56, allocations: 53.7 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.5601, allocations: 6.375 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/0.5605, allocations: 218 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.5605, allocations: 0.9688 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005594/0.5611, allocations: 265.8 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.5611, allocations: 59.02 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.5614, allocations: 298.3 kB / 1.047 GB, free: 54.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.5614, allocations: 36.52 kB / 1.047 GB, free: 54.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.5615, allocations: 95.41 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.5615, allocations: 43.69 kB / 1.047 GB, free: 54.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.5616, allocations: 8.312 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.5616, allocations: 331.8 kB / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.5618, allocations: 89.17 kB / 1.047 GB, free: 53.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.562, allocations: 151.9 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.5623, allocations: 240.5 kB / 1.047 GB, free: 53.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5623, allocations: 7.375 kB / 1.047 GB, free: 53.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006262/0.563, allocations: 406.1 kB / 1.048 GB, free: 53.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.563, allocations: 76.89 kB / 1.048 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5631, allocations: 7.281 kB / 1.048 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5631, allocations: 2.188 kB / 1.048 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.5632, allocations: 28.61 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5633, allocations: 7.969 kB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.5638, allocations: 63.23 kB / 1.048 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.5638, allocations: 55.27 kB / 1.048 GB, free: 53.33 MB / 0.698 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.564, allocations: 179.4 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.564, allocations: 27.94 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.5641, allocations: 29.95 kB / 1.048 GB, free: 53.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5641, allocations: 4.25 kB / 1.048 GB, free: 53.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5641, allocations: 2.125 kB / 1.048 GB, free: 53.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5641, allocations: 0 / 1.048 GB, free: 53.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007006/0.5648, allocations: 0.5649 MB / 1.049 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5648, allocations: 4 kB / 1.049 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.5649, allocations: 7.781 kB / 1.049 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5649, allocations: 0 / 1.049 GB, free: 52.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.5649, allocations: 16.81 kB / 1.049 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.565, allocations: 4.938 kB / 1.049 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.565, allocations: 0 / 1.049 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.5653, allocations: 320.9 kB / 1.049 GB, free: 52.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.5655, allocations: 158.9 kB / 1.049 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.5655, allocations: 12.72 kB / 1.049 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.5657, allocations: 17.64 kB / 1.049 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.5658, allocations: 13.66 kB / 1.049 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.5659, allocations: 33.95 kB / 1.049 GB, free: 52.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001613/0.566, allocations: 206.1 kB / 1.05 GB, free: 52.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.566, allocations: 0 / 1.05 GB, free: 52.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002873/0.5663, allocations: 47.89 kB / 1.05 GB, free: 52.3 MB / 0.698 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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001189/0.5665, allocations: 123.6 kB / 1.05 GB, free: 52.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.567, allocations: 339.8 kB / 1.05 GB, free: 52.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.567, allocations: 0 / 1.05 GB, free: 52.01 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.5671, allocations: 78.41 kB / 1.05 GB, free: 51.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.5674, allocations: 23.7 kB / 1.05 GB, free: 51.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.5681, allocations: 467 kB / 1.051 GB, free: 51.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.5683, allocations: 0.7411 MB / 1.051 GB, free: 50.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.5684, allocations: 41.03 kB / 1.051 GB, free: 50.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.5686, allocations: 36.86 kB / 1.051 GB, free: 50.92 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.5686, allocations: 0 / 1.051 GB, free: 50.92 MB / 0.698 GB Notification: Performance of Templates: time 0.007289/0.5759, allocations: 3.99 MB / 1.055 GB, free: 50.55 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)