Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.651/1.651, allocations: 255.9 MB / 271.2 MB, free: 8.898 MB / 218.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.00107/0.00107, allocations: 186.2 kB / 330.8 MB, free: 484 kB / 250.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.652/1.652, allocations: 225.7 MB / 0.6016 GB, free: 1.648 MB / 426.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.0008339/0.0008337, allocations: 95.56 kB / 0.709 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004198, allocations: 13.75 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2458, allocations: 109.2 MB / 0.9328 GB, free: 6.27 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.0019/0.2477, allocations: 1.37 MB / 0.9341 GB, free: 4.891 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2488, allocations: 0.7889 MB / 0.9349 GB, free: 4.023 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.2488, allocations: 3.938 kB / 0.9349 GB, free: 4.02 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.2489, allocations: 3.938 kB / 0.9349 GB, free: 4.016 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.2491, allocations: 28.22 kB / 0.9349 GB, free: 3.988 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.2497, allocations: 251.6 kB / 0.9352 GB, free: 3.742 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.25, allocations: 351.8 kB / 0.9355 GB, free: 3.398 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2501, allocations: 41.34 kB / 0.9355 GB, free: 3.352 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.2504, allocations: 230.2 kB / 0.9358 GB, free: 3.129 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.2506, allocations: 131.5 kB / 0.9359 GB, free: 3 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.2507, allocations: 12 kB / 0.9359 GB, free: 2.988 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.649e-05/0.2507, allocations: 8 kB / 0.9359 GB, free: 2.98 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.2509, allocations: 75.72 kB / 0.936 GB, free: 2.906 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.2511, allocations: 164.9 kB / 0.9361 GB, free: 2.738 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.2514, allocations: 398.9 kB / 0.9365 GB, free: 2.348 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2514, allocations: 0 / 0.9365 GB, free: 2.348 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2514, allocations: 4 kB / 0.9365 GB, free: 2.344 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2514, allocations: 0 / 0.9365 GB, free: 2.344 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000912/0.2524, allocations: 0.6297 MB / 0.9371 GB, free: 1.641 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2524, allocations: 17.11 kB / 0.9372 GB, free: 1.625 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.2525, allocations: 35.62 kB / 0.9372 GB, free: 1.59 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.2528, allocations: 286.7 kB / 0.9375 GB, free: 1.27 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.2528, allocations: 23.98 kB / 0.9375 GB, free: 1.246 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.2529, allocations: 23.94 kB / 0.9375 GB, free: 1.223 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.2532, allocations: 168.8 kB / 0.9377 GB, free: 1.055 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2532, allocations: 0 / 0.9377 GB, free: 1.055 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.2532, allocations: 0 / 0.9377 GB, free: 1.055 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2532, allocations: 4 kB / 0.9377 GB, free: 1.051 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.2533, allocations: 67.86 kB / 0.9377 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000946/0.2543, allocations: 0.5511 MB / 0.9383 GB, free: 392 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.2546, allocations: 142.6 kB / 0.9384 GB, free: 240 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.2547, allocations: 64.83 kB / 0.9385 GB, free: 172 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2547, allocations: 3.984 kB / 0.9385 GB, free: 168 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/0.2552, allocations: 228.1 kB / 0.9387 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 4.058e-06/0.2553, allocations: 7.984 kB / 0.9387 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0005972/0.2559, allocations: 285.1 kB / 0.939 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.2559, allocations: 59.41 kB / 0.939 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.2563, allocations: 316.4 kB / 0.9393 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.2563, allocations: 37.7 kB / 0.9394 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.2564, allocations: 101 kB / 0.9395 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.2565, allocations: 47.45 kB / 0.9395 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.2565, allocations: 4 kB / 0.9395 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2566, allocations: 330.8 kB / 0.9398 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.2569, allocations: 104.2 kB / 0.9399 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.2571, allocations: 158.9 kB / 0.9401 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.2575, allocations: 264.5 kB / 0.9403 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2575, allocations: 0 / 0.9403 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006771/0.2582, allocations: 432.7 kB / 0.9407 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/0.2582, allocations: 83.52 kB / 0.9408 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2583, allocations: 11.94 kB / 0.9408 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2583, allocations: 4 kB / 0.9408 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2585, allocations: 27.91 kB / 0.9409 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2585, allocations: 4 kB / 0.9409 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.259, allocations: 67.86 kB / 0.9409 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.2591, allocations: 51.98 kB / 0.941 GB, free: 13.45 MB / 0.5886 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0001952/0.2593, allocations: 190.9 kB / 0.9412 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.2593, allocations: 31.56 kB / 0.9412 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.2594, allocations: 34.36 kB / 0.9412 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2594, allocations: 0 / 0.9412 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2594, allocations: 0 / 0.9412 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2594, allocations: 4 kB / 0.9412 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000761/0.2602, allocations: 0.6004 MB / 0.9418 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2602, allocations: 4 kB / 0.9418 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.2602, allocations: 4 kB / 0.9418 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2602, allocations: 4 kB / 0.9418 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.2603, allocations: 11.98 kB / 0.9418 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2603, allocations: 4 kB / 0.9418 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2603, allocations: 3.984 kB / 0.9418 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.2607, allocations: 335 kB / 0.9422 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.2609, allocations: 184.6 kB / 0.9423 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-05/0.261, allocations: 15.98 kB / 0.9424 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.2612, allocations: 11.98 kB / 0.9424 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.2613, allocations: 15.98 kB / 0.9424 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.2614, allocations: 31.97 kB / 0.9424 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002161/0.2616, allocations: 227 kB / 0.9426 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2616, allocations: 4 kB / 0.9426 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000298/0.2619, allocations: 55.92 kB / 0.9427 GB, free: 11.6 MB / 0.5886 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0002055/0.2621, allocations: 130.8 kB / 0.9428 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005768/0.2627, allocations: 366.5 kB / 0.9432 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2627, allocations: 0 / 0.9432 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.2629, allocations: 79.81 kB / 0.9432 GB, free: 11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.2633, allocations: 35.03 kB / 0.9433 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.264, allocations: 0.5035 MB / 0.9438 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.2643, allocations: 0.7517 MB / 0.9445 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.2645, allocations: 37.42 kB / 0.9445 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.2646, allocations: 39.42 kB / 0.9446 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.2646, allocations: 0 / 0.9446 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of Templates: time 0.007755/0.2724, allocations: 4.367 MB / 0.9488 GB, free: 5.242 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)