Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") 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.285/1.285, allocations: 255.9 MB / 271.2 MB, free: 8.902 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.0008757/0.0008758, allocations: 185.7 kB / 330.8 MB, free: 476 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.356/1.356, allocations: 225.7 MB / 0.6016 GB, free: 1.672 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.0006982/0.0006982, allocations: 101.7 kB / 0.709 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002781, allocations: 9.312 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1485, allocations: 109.2 MB / 0.9327 GB, free: 6.316 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001173/0.1497, allocations: 1.185 MB / 0.9339 GB, free: 5.121 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.1505, allocations: 0.7381 MB / 0.9346 GB, free: 4.305 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1505, allocations: 0 / 0.9346 GB, free: 4.305 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 7.296e-05/0.1506, allocations: 11.86 kB / 0.9346 GB, free: 4.293 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.1507, allocations: 16.31 kB / 0.9346 GB, free: 4.277 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.1512, allocations: 231.6 kB / 0.9349 GB, free: 4.051 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1514, allocations: 280 kB / 0.9351 GB, free: 3.777 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.1514, allocations: 11.98 kB / 0.9351 GB, free: 3.766 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1516, allocations: 222.2 kB / 0.9354 GB, free: 3.551 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1518, allocations: 123.6 kB / 0.9355 GB, free: 3.43 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.924e-05/0.1519, allocations: 12 kB / 0.9355 GB, free: 3.418 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.963e-05/0.1519, allocations: 8 kB / 0.9355 GB, free: 3.41 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.152, allocations: 71.78 kB / 0.9356 GB, free: 3.34 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1521, allocations: 153 kB / 0.9357 GB, free: 3.184 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.1523, allocations: 275.3 kB / 0.936 GB, free: 2.914 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1524, allocations: 0 / 0.936 GB, free: 2.914 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1524, allocations: 0 / 0.936 GB, free: 2.914 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.1524, allocations: 0 / 0.936 GB, free: 2.914 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007736/0.1531, allocations: 0.618 MB / 0.9366 GB, free: 2.223 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1532, allocations: 11.98 kB / 0.9366 GB, free: 2.211 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.1533, allocations: 35.72 kB / 0.9366 GB, free: 2.176 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1535, allocations: 258.3 kB / 0.9369 GB, free: 1.883 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.1535, allocations: 15.94 kB / 0.9369 GB, free: 1.867 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.1536, allocations: 20 kB / 0.9369 GB, free: 1.848 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.1538, allocations: 145.5 kB / 0.937 GB, free: 1.699 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1538, allocations: 0 / 0.937 GB, free: 1.699 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1539, allocations: 11.92 kB / 0.9371 GB, free: 1.688 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1539, allocations: 0 / 0.9371 GB, free: 1.688 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.154, allocations: 47.97 kB / 0.9371 GB, free: 1.641 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.1542, allocations: 321.3 kB / 0.9374 GB, free: 1.277 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1545, allocations: 126.7 kB / 0.9375 GB, free: 1.145 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1546, allocations: 56.83 kB / 0.9376 GB, free: 1.086 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1546, allocations: 4 kB / 0.9376 GB, free: 1.082 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.155, allocations: 215.6 kB / 0.9378 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of pre-optimization done (n=18): time 1.223e-06/0.155, allocations: 0 / 0.9378 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of matching and sorting (n=18): time 0.000465/0.1555, allocations: 265.2 kB / 0.938 GB, free: 0.5938 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1555, allocations: 63.39 kB / 0.9381 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1557, allocations: 298.8 kB / 0.9384 GB, free: 232 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.1557, allocations: 33.7 kB / 0.9384 GB, free: 192 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.1558, allocations: 97.12 kB / 0.9385 GB, free: 92 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.1558, allocations: 43.44 kB / 0.9386 GB, free: 48 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.1559, allocations: 11.94 kB / 0.9386 GB, free: 36 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.156, allocations: 322.8 kB / 0.9389 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.1562, allocations: 96.17 kB / 0.939 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.1564, allocations: 149.9 kB / 0.9391 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.1567, allocations: 238.9 kB / 0.9393 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1568, allocations: 0 / 0.9393 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006487/0.1574, allocations: 427.3 kB / 0.9397 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/0.1575, allocations: 71.39 kB / 0.9398 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1575, allocations: 7.984 kB / 0.9398 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1575, allocations: 4 kB / 0.9398 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1577, allocations: 23.98 kB / 0.9398 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1577, allocations: 8.125 kB / 0.9399 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.1582, allocations: 71.8 kB / 0.9399 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.1582, allocations: 51.97 kB / 0.94 GB, free: 14.5 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.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.0001646/0.1584, allocations: 180.6 kB / 0.9401 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.1585, allocations: 23.72 kB / 0.9402 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.1585, allocations: 30.25 kB / 0.9402 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1585, allocations: 4 kB / 0.9402 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1585, allocations: 0 / 0.9402 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1585, allocations: 3.984 kB / 0.9402 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.1592, allocations: 0.5529 MB / 0.9407 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1593, allocations: 4 kB / 0.9407 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.1593, allocations: 11.94 kB / 0.9408 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1593, allocations: 0 / 0.9408 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.1594, allocations: 19.97 kB / 0.9408 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1594, allocations: 7.875 kB / 0.9408 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1594, allocations: 0 / 0.9408 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.1597, allocations: 315.9 kB / 0.9411 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1599, allocations: 156.7 kB / 0.9412 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.16, allocations: 8 kB / 0.9412 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.1602, allocations: 23.92 kB / 0.9413 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1602, allocations: 15.97 kB / 0.9413 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.1603, allocations: 27.98 kB / 0.9413 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001645/0.1604, allocations: 205.9 kB / 0.9415 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1604, allocations: 0 / 0.9415 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002636/0.1607, allocations: 52 kB / 0.9416 GB, free: 12.77 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.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.0001162/0.1608, allocations: 123.2 kB / 0.9417 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004696/0.1613, allocations: 346.5 kB / 0.942 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1613, allocations: 0 / 0.942 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1614, allocations: 71.95 kB / 0.9421 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.1617, allocations: 24.81 kB / 0.9421 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.1623, allocations: 467.2 kB / 0.9425 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1626, allocations: 0.7442 MB / 0.9433 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.1628, allocations: 41.42 kB / 0.9433 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.1629, allocations: 39.42 kB / 0.9433 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of SimCode: time 2.21e-07/0.1629, allocations: 0 / 0.9433 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of Templates: time 0.006518/0.1694, allocations: 3.98 MB / 0.9472 GB, free: 6.883 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)