Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 297.4 MB / 312.6 MB, free: 2.914 MB / 234.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.0009446/0.0009446, allocations: 178.1 kB / 382.3 MB, free: 14.83 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.301/1.301, allocations: 225.7 MB / 0.6617 GB, free: 7.219 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009723, allocations: 98.16 kB / 0.7789 GB, free: 46.82 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 8 kB / 0.9058 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.553, allocations: 119.2 MB / 1.022 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00173/0.5548, allocations: 1.185 MB / 1.023 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008747/0.5557, allocations: 0.7358 MB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.5558, allocations: 1.375 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.5559, allocations: 4.562 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.556, allocations: 29.72 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.5566, allocations: 223.5 kB / 1.024 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.5569, allocations: 287.9 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.877e-05/0.5569, allocations: 11.34 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000364/0.5573, allocations: 219.7 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.5576, allocations: 122.3 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.203e-05/0.5576, allocations: 12.5 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.5577, allocations: 6.875 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.5578, allocations: 73.5 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.558, allocations: 149 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.5584, allocations: 274.2 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5584, allocations: 0 / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5584, allocations: 0 / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.5584, allocations: 3.406 kB / 1.025 GB, free: 56.13 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.0008581/0.5593, allocations: 0.6155 MB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.5593, allocations: 13.75 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.5594, allocations: 29.31 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.5597, allocations: 271.4 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.5597, allocations: 8.266 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.5597, allocations: 23.11 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.5601, allocations: 142.9 kB / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5601, allocations: 0 / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.5601, allocations: 5.219 kB / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.5601, allocations: 3.578 kB / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.5602, allocations: 50.14 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.5605, allocations: 316.3 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.5608, allocations: 121.1 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.5609, allocations: 58.98 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.5609, allocations: 2 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/0.5613, allocations: 223.3 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.5614, allocations: 1.5 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0004958/0.5619, allocations: 267.6 kB / 1.028 GB, free: 54.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.5619, allocations: 61.23 kB / 1.028 GB, free: 54.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.5621, allocations: 289.5 kB / 1.028 GB, free: 54.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.5622, allocations: 42.91 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.5622, allocations: 94.03 kB / 1.028 GB, free: 54.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.5623, allocations: 42.97 kB / 1.028 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.5623, allocations: 9.891 kB / 1.028 GB, free: 54.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.5623, allocations: 320.9 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.5625, allocations: 94.19 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.5628, allocations: 150.9 kB / 1.029 GB, free: 53.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.563, allocations: 238.4 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.563, allocations: 7.938 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005842/0.5636, allocations: 410.1 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.5637, allocations: 77.19 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5637, allocations: 3.922 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.5637, allocations: 3.312 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.5639, allocations: 29.47 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5639, allocations: 6 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.5644, allocations: 67.67 kB / 1.029 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/0.5645, allocations: 50.22 kB / 1.029 GB, free: 53.43 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.0001378/0.5646, allocations: 181.1 kB / 1.03 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.5647, allocations: 27.38 kB / 1.03 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.5647, allocations: 30.45 kB / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5647, allocations: 2.5 kB / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5647, allocations: 0 / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5648, allocations: 2.172 kB / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.5654, allocations: 0.5643 MB / 1.03 GB, free: 52.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5654, allocations: 3.062 kB / 1.03 GB, free: 52.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.5654, allocations: 13.8 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5655, allocations: 0 / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.5655, allocations: 14.91 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5655, allocations: 3.938 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5655, allocations: 4.766 kB / 1.03 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.5659, allocations: 318 kB / 1.031 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.566, allocations: 157.3 kB / 1.031 GB, free: 52.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.5661, allocations: 9 kB / 1.031 GB, free: 52.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.5663, allocations: 24.86 kB / 1.031 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.5663, allocations: 12.06 kB / 1.031 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.5664, allocations: 33.45 kB / 1.031 GB, free: 52.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001487/0.5665, allocations: 206.2 kB / 1.031 GB, free: 52.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5665, allocations: 0 / 1.031 GB, free: 52.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002761/0.5668, allocations: 46.78 kB / 1.031 GB, free: 52.41 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.0001243/0.5669, allocations: 118.8 kB / 1.031 GB, free: 52.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004896/0.5674, allocations: 345.2 kB / 1.032 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5675, allocations: 1.125 kB / 1.032 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.5676, allocations: 72.73 kB / 1.032 GB, free: 52.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.5679, allocations: 23.25 kB / 1.032 GB, free: 52.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.5685, allocations: 461.2 kB / 1.032 GB, free: 51.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.5686, allocations: 0.7466 MB / 1.033 GB, free: 51.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.5688, allocations: 37.94 kB / 1.033 GB, free: 51.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.5689, allocations: 42.77 kB / 1.033 GB, free: 51.04 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.5689, allocations: 0 / 1.033 GB, free: 51.04 MB / 0.698 GB Notification: Performance of Templates: time 0.006695/0.5756, allocations: 3.985 MB / 1.037 GB, free: 50.69 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)