Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") 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.683/1.683, allocations: 297.4 MB / 312.6 MB, free: 2.898 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.001008/0.001008, allocations: 186 kB / 382.3 MB, free: 14.82 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.361/1.361, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.0007506/0.0007506, allocations: 92.19 kB / 0.7789 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 8 kB / 0.9058 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5556, allocations: 119.2 MB / 1.022 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001466/0.5571, allocations: 1.188 MB / 1.023 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.558, allocations: 0.7282 MB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.558, allocations: 0 / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.716e-05/0.5581, allocations: 10.12 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.9e-05/0.5582, allocations: 27.42 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.5588, allocations: 220.1 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.5591, allocations: 289.2 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.5591, allocations: 13.64 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.5594, allocations: 215.7 kB / 1.025 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.5596, allocations: 117.6 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.5597, allocations: 12.38 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.604e-05/0.5598, allocations: 10.22 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.5599, allocations: 77.75 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.56, allocations: 149.2 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.5604, allocations: 275.8 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5604, allocations: 0 / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5604, allocations: 0 / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.5604, allocations: 1.062 kB / 1.025 GB, free: 56.43 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.0008878/0.5613, allocations: 0.6168 MB / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.5613, allocations: 8.25 kB / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.306e-05/0.5614, allocations: 36.31 kB / 1.026 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.5617, allocations: 262.1 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.5617, allocations: 18.31 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.5618, allocations: 13.22 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.5621, allocations: 146.8 kB / 1.027 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5621, allocations: 0 / 1.027 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.5621, allocations: 5.172 kB / 1.027 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5622, allocations: 0.7031 kB / 1.027 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.5623, allocations: 47.75 kB / 1.027 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.5625, allocations: 322 kB / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.5628, allocations: 127.2 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.5629, allocations: 57.56 kB / 1.027 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.563, allocations: 3.922 kB / 1.027 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.5634, allocations: 219.8 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.5634, allocations: 0 / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005022/0.5639, allocations: 272.4 kB / 1.028 GB, free: 55.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.5639, allocations: 58.58 kB / 1.028 GB, free: 54.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.5642, allocations: 288.8 kB / 1.028 GB, free: 54.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.5642, allocations: 43.25 kB / 1.028 GB, free: 54.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.5643, allocations: 91.78 kB / 1.028 GB, free: 54.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.5643, allocations: 47.89 kB / 1.028 GB, free: 54.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.5643, allocations: 4.188 kB / 1.028 GB, free: 54.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.5644, allocations: 326.1 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.5646, allocations: 89.97 kB / 1.028 GB, free: 54.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.5648, allocations: 145 kB / 1.029 GB, free: 54.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.5651, allocations: 245.6 kB / 1.029 GB, free: 54.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5651, allocations: 3.625 kB / 1.029 GB, free: 54.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000613/0.5657, allocations: 415.3 kB / 1.029 GB, free: 53.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.5658, allocations: 76.17 kB / 1.029 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5658, allocations: 1.469 kB / 1.029 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5658, allocations: 3.859 kB / 1.029 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.566, allocations: 29.52 kB / 1.029 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.566, allocations: 2.844 kB / 1.029 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.5665, allocations: 71.25 kB / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.5666, allocations: 52.78 kB / 1.029 GB, free: 53.73 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.0001398/0.5667, allocations: 180.5 kB / 1.03 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.5668, allocations: 26.28 kB / 1.03 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.5668, allocations: 32.48 kB / 1.03 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5668, allocations: 2.406 kB / 1.03 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5668, allocations: 0.7969 kB / 1.03 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.5668, allocations: 5.062 kB / 1.03 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.5675, allocations: 0.5555 MB / 1.03 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5675, allocations: 6.75 kB / 1.03 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.5676, allocations: 13.41 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5676, allocations: 0.6562 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.5676, allocations: 13.62 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5676, allocations: 6.656 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5676, allocations: 3.234 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.5679, allocations: 319.6 kB / 1.031 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.5681, allocations: 161 kB / 1.031 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.5681, allocations: 12.47 kB / 1.031 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.5683, allocations: 15.78 kB / 1.031 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.5684, allocations: 21.45 kB / 1.031 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.5685, allocations: 26.97 kB / 1.031 GB, free: 52.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001385/0.5686, allocations: 205.5 kB / 1.031 GB, free: 52.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5686, allocations: 0 / 1.031 GB, free: 52.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002727/0.5689, allocations: 48.61 kB / 1.031 GB, free: 52.7 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 9.848e-05/0.569, allocations: 120.1 kB / 1.031 GB, free: 52.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.5695, allocations: 345.8 kB / 1.032 GB, free: 52.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5695, allocations: 0 / 1.032 GB, free: 52.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.5696, allocations: 73.98 kB / 1.032 GB, free: 52.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.5699, allocations: 21.73 kB / 1.032 GB, free: 52.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.5705, allocations: 463.2 kB / 1.032 GB, free: 52.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.5707, allocations: 0.7433 MB / 1.033 GB, free: 51.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.5709, allocations: 41.2 kB / 1.033 GB, free: 51.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.571, allocations: 33.67 kB / 1.033 GB, free: 51.34 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.571, allocations: 4 kB / 1.033 GB, free: 51.33 MB / 0.698 GB Notification: Performance of Templates: time 0.006675/0.5777, allocations: 3.985 MB / 1.037 GB, free: 50.98 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)