Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.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.762/1.762, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.001038/0.001038, allocations: 189 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.533/1.533, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.0008297/0.00083, allocations: 94.34 kB / 0.7789 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005686/0.0005686, allocations: 12 kB / 0.9059 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8422/0.8428, allocations: 119.2 MB / 1.022 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002641/0.8455, allocations: 1.349 MB / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.8468, allocations: 0.799 MB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.8469, allocations: 1.375 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.847, allocations: 11.81 kB / 1.024 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.8472, allocations: 29.86 kB / 1.024 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007764/0.848, allocations: 255.5 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.8484, allocations: 349 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.8486, allocations: 30.73 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003989/0.849, allocations: 231.2 kB / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.8492, allocations: 126 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.072e-05/0.8493, allocations: 9.562 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.627e-05/0.8494, allocations: 10.03 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.8496, allocations: 81.89 kB / 1.025 GB, free: 55.81 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.8498, allocations: 162.3 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004568/0.8503, allocations: 393.5 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8503, allocations: 1.469 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.407e-06/0.8503, allocations: 1.016 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8503, allocations: 0.625 kB / 1.026 GB, free: 55.61 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001136/0.8514, allocations: 0.6391 MB / 1.027 GB, free: 55.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.8515, allocations: 11.66 kB / 1.027 GB, free: 55.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.8516, allocations: 32.03 kB / 1.027 GB, free: 55.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.852, allocations: 293.9 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.852, allocations: 13.19 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.8521, allocations: 19.59 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.8525, allocations: 163.9 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8525, allocations: 1.375 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.8525, allocations: 6.438 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.8525, allocations: 1.375 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.8527, allocations: 65.56 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.8538, allocations: 0.564 MB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.8541, allocations: 140.2 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.8543, allocations: 64.77 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.8543, allocations: 4.594 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005309/0.8548, allocations: 226 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.983e-06/0.8548, allocations: 0.5 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0006332/0.8555, allocations: 278.2 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.8555, allocations: 72.41 kB / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.8559, allocations: 309 kB / 1.029 GB, free: 53.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.8559, allocations: 44.14 kB / 1.029 GB, free: 53.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.856, allocations: 101.9 kB / 1.029 GB, free: 53.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.8561, allocations: 43.42 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.8561, allocations: 8.016 kB / 1.029 GB, free: 53.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.8562, allocations: 325.5 kB / 1.029 GB, free: 53.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.8564, allocations: 106.3 kB / 1.029 GB, free: 53.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.8567, allocations: 161.2 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.857, allocations: 255.9 kB / 1.03 GB, free: 52.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.8571, allocations: 7.5 kB / 1.03 GB, free: 52.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007424/0.8578, allocations: 443.1 kB / 1.03 GB, free: 52.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.8579, allocations: 77.17 kB / 1.03 GB, free: 52.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8579, allocations: 2.125 kB / 1.03 GB, free: 52.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.8579, allocations: 2.469 kB / 1.03 GB, free: 52.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.8581, allocations: 29.25 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.8581, allocations: 7.156 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.8587, allocations: 74.62 kB / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.8588, allocations: 50.75 kB / 1.03 GB, free: 52.61 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.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.0001946/0.859, allocations: 187.8 kB / 1.031 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.859, allocations: 32.34 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.8591, allocations: 28.53 kB / 1.031 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8591, allocations: 4.234 kB / 1.031 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.8591, allocations: 0 / 1.031 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.8591, allocations: 0.8906 kB / 1.031 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.8598, allocations: 0.602 MB / 1.031 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.8598, allocations: 1.188 kB / 1.031 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.8599, allocations: 11.64 kB / 1.031 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.8599, allocations: 0.75 kB / 1.031 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.86, allocations: 23.34 kB / 1.031 GB, free: 52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.86, allocations: 0 / 1.031 GB, free: 52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.86, allocations: 0 / 1.031 GB, free: 52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.8604, allocations: 327.4 kB / 1.032 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.8606, allocations: 187.2 kB / 1.032 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.8607, allocations: 11.52 kB / 1.032 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.8609, allocations: 15.44 kB / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.8609, allocations: 18.47 kB / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.861, allocations: 32.19 kB / 1.032 GB, free: 51.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000196/0.8612, allocations: 225.2 kB / 1.032 GB, free: 51.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.403e-06/0.8612, allocations: 0 / 1.032 GB, free: 51.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003175/0.8615, allocations: 62.58 kB / 1.032 GB, free: 51.51 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.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.0001648/0.8617, allocations: 122.7 kB / 1.032 GB, free: 51.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000559/0.8623, allocations: 375.6 kB / 1.033 GB, free: 51.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8623, allocations: 3.938 kB / 1.033 GB, free: 51.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.8624, allocations: 72.11 kB / 1.033 GB, free: 51.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.8628, allocations: 37.55 kB / 1.033 GB, free: 51.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.8636, allocations: 0.5027 MB / 1.033 GB, free: 50.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.8638, allocations: 0.758 MB / 1.034 GB, free: 50.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.864, allocations: 36.33 kB / 1.034 GB, free: 50.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.8641, allocations: 38.38 kB / 1.034 GB, free: 50.08 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.8641, allocations: 0 / 1.034 GB, free: 50.08 MB / 0.698 GB Notification: Performance of Templates: time 0.008716/0.8728, allocations: 4.369 MB / 1.038 GB, free: 49.71 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)