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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") 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.841/1.841, allocations: 297.4 MB / 312.6 MB, free: 2.938 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.001273/0.001273, allocations: 174.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.475/1.475, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0008438/0.0008439, allocations: 96.28 kB / 0.7789 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005073, allocations: 8 kB / 0.9059 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8641/0.8647, allocations: 119.2 MB / 1.022 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002718/0.8675, allocations: 1.358 MB / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.869, allocations: 0.7924 MB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.8691, allocations: 0.9062 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.8692, allocations: 8.391 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.8694, allocations: 31.14 kB / 1.024 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008914/0.8703, allocations: 251.3 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.8709, allocations: 353.8 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.8711, allocations: 27.61 kB / 1.025 GB, free: 56.42 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.8716, allocations: 235.6 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.8719, allocations: 127.8 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.872, allocations: 8 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.8721, allocations: 10.91 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.8722, allocations: 78.73 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.8725, allocations: 158.7 kB / 1.026 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.873, allocations: 402.3 kB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.8731, allocations: 2.156 kB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.697e-06/0.8731, allocations: 0 / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.8731, allocations: 2.625 kB / 1.026 GB, free: 56.11 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.001369/0.8745, allocations: 0.6416 MB / 1.027 GB, free: 55.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.8745, allocations: 10.84 kB / 1.027 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.8747, allocations: 33.23 kB / 1.027 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.8751, allocations: 281.2 kB / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.8751, allocations: 15.59 kB / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.8752, allocations: 22.41 kB / 1.027 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.8757, allocations: 165 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.8757, allocations: 4.875 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.8758, allocations: 7.75 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.8758, allocations: 3.5 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.876, allocations: 63.73 kB / 1.027 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.8772, allocations: 0.559 MB / 1.028 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.8775, allocations: 142.2 kB / 1.028 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.8777, allocations: 67.06 kB / 1.028 GB, free: 54.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.8777, allocations: 2.484 kB / 1.028 GB, free: 54.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000567/0.8783, allocations: 230.7 kB / 1.028 GB, free: 54.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.8783, allocations: 0 / 1.028 GB, free: 54.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0006865/0.879, allocations: 274.8 kB / 1.028 GB, free: 54.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.8791, allocations: 66.7 kB / 1.029 GB, free: 54.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.8795, allocations: 322.8 kB / 1.029 GB, free: 54.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.8795, allocations: 41.11 kB / 1.029 GB, free: 54.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.8796, allocations: 97.64 kB / 1.029 GB, free: 54.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.8797, allocations: 40.05 kB / 1.029 GB, free: 54.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.8797, allocations: 11.66 kB / 1.029 GB, free: 54.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8799, allocations: 323.2 kB / 1.029 GB, free: 53.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.8801, allocations: 109.9 kB / 1.029 GB, free: 53.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.8804, allocations: 160.9 kB / 1.03 GB, free: 53.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.8808, allocations: 251 kB / 1.03 GB, free: 53.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8808, allocations: 5.875 kB / 1.03 GB, free: 53.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008141/0.8817, allocations: 444.7 kB / 1.03 GB, free: 53.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.487e-05/0.8817, allocations: 77.52 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8818, allocations: 2.312 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.8818, allocations: 2.344 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.882, allocations: 28.17 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.882, allocations: 9.688 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.8825, allocations: 69.08 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/0.8826, allocations: 58.25 kB / 1.03 GB, free: 53.1 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.0002251/0.8828, allocations: 188.8 kB / 1.031 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.8829, allocations: 27.97 kB / 1.031 GB, free: 52.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.883, allocations: 33.27 kB / 1.031 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.883, allocations: 2.594 kB / 1.031 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.883, allocations: 0 / 1.031 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.883, allocations: 3.938 kB / 1.031 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.8838, allocations: 0.6005 MB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.8839, allocations: 4 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.8839, allocations: 10.44 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.8839, allocations: 2.875 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.884, allocations: 11.11 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.884, allocations: 0 / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.884, allocations: 1.812 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.8845, allocations: 327.7 kB / 1.032 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.8847, allocations: 188.2 kB / 1.032 GB, free: 52.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.8848, allocations: 17.69 kB / 1.032 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.885, allocations: 15.22 kB / 1.032 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.8851, allocations: 19.16 kB / 1.032 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.8852, allocations: 32.48 kB / 1.032 GB, free: 52.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002833/0.8854, allocations: 228 kB / 1.032 GB, free: 52.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8855, allocations: 0 / 1.032 GB, free: 52.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003138/0.8858, allocations: 49.25 kB / 1.032 GB, free: 52.01 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.0002765/0.8861, allocations: 138.2 kB / 1.032 GB, free: 51.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000708/0.8868, allocations: 367.7 kB / 1.033 GB, free: 51.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8868, allocations: 2.281 kB / 1.033 GB, free: 51.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.887, allocations: 72.77 kB / 1.033 GB, free: 51.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.8874, allocations: 39.22 kB / 1.033 GB, free: 51.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.8884, allocations: 0.5003 MB / 1.033 GB, free: 51.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.8889, allocations: 0.7552 MB / 1.034 GB, free: 50.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.8891, allocations: 41.55 kB / 1.034 GB, free: 50.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.8893, allocations: 30.77 kB / 1.034 GB, free: 50.58 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/0.8893, allocations: 0 / 1.034 GB, free: 50.58 MB / 0.698 GB Notification: Performance of Templates: time 0.01175/0.901, allocations: 4.384 MB / 1.038 GB, free: 50.21 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)