Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.912/1.912, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.001173/0.001174, allocations: 183.2 kB / 393.1 MB, free: 4.094 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.661/1.661, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008901/0.0008899, allocations: 102.4 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003799, allocations: 8.875 kB / 0.9225 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.6897, allocations: 121.3 MB / 1.041 GB, free: 58.58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001843/0.6916, allocations: 1.365 MB / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.6927, allocations: 0.7901 MB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.6927, allocations: 0 / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.496e-05/0.6928, allocations: 9.109 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.6929, allocations: 29.59 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.6935, allocations: 253.9 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.6939, allocations: 357.5 kB / 1.044 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.694, allocations: 26.81 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.6943, allocations: 230.4 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.6945, allocations: 127.5 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.6946, allocations: 7.5 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.61e-05/0.6947, allocations: 10.56 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.6948, allocations: 79.5 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.695, allocations: 159.2 kB / 1.044 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.6953, allocations: 401.1 kB / 1.045 GB, free: 56.33 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6954, allocations: 1.094 kB / 1.045 GB, free: 56.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6954, allocations: 0 / 1.045 GB, free: 56.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6954, allocations: 3.281 kB / 1.045 GB, free: 56.33 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.0009005/0.6963, allocations: 0.6337 MB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.6963, allocations: 9.438 kB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.779e-05/0.6964, allocations: 36.47 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.6967, allocations: 286.2 kB / 1.046 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.6967, allocations: 16.56 kB / 1.046 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.6968, allocations: 21.09 kB / 1.046 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.6971, allocations: 163.6 kB / 1.046 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6971, allocations: 2.469 kB / 1.046 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.6972, allocations: 6.484 kB / 1.046 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6972, allocations: 3.531 kB / 1.046 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.6973, allocations: 69.81 kB / 1.046 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.6983, allocations: 0.552 MB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.6987, allocations: 151.8 kB / 1.047 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.6988, allocations: 57.05 kB / 1.047 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.6988, allocations: 10.08 kB / 1.047 GB, free: 54.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/0.6994, allocations: 229.2 kB / 1.047 GB, free: 54.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.6994, allocations: 3.938 kB / 1.047 GB, free: 54.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.000587/0.7, allocations: 280.3 kB / 1.047 GB, free: 54.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.7, allocations: 61.64 kB / 1.047 GB, free: 54.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.7003, allocations: 310.8 kB / 1.047 GB, free: 54.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.7004, allocations: 45.05 kB / 1.047 GB, free: 54.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.7005, allocations: 97.48 kB / 1.048 GB, free: 54.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.7005, allocations: 48.95 kB / 1.048 GB, free: 54.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.7005, allocations: 7.594 kB / 1.048 GB, free: 54.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.7006, allocations: 320.6 kB / 1.048 GB, free: 53.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.7008, allocations: 109.2 kB / 1.048 GB, free: 53.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.7011, allocations: 164 kB / 1.048 GB, free: 53.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.7014, allocations: 255.8 kB / 1.048 GB, free: 53.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7014, allocations: 1.625 kB / 1.048 GB, free: 53.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000656/0.702, allocations: 450.2 kB / 1.049 GB, free: 53.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.7021, allocations: 77.39 kB / 1.049 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.7021, allocations: 6.203 kB / 1.049 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7022, allocations: 3.531 kB / 1.049 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.7023, allocations: 23 kB / 1.049 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.7023, allocations: 8.812 kB / 1.049 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.7028, allocations: 78.28 kB / 1.049 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/0.7029, allocations: 54.5 kB / 1.049 GB, free: 53.31 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.0001767/0.7031, allocations: 183.5 kB / 1.049 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.7031, allocations: 32.84 kB / 1.049 GB, free: 53.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.7032, allocations: 37.66 kB / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7032, allocations: 2.781 kB / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7032, allocations: 0 / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7032, allocations: 1.781 kB / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.7039, allocations: 0.5974 MB / 1.05 GB, free: 52.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.704, allocations: 0 / 1.05 GB, free: 52.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.704, allocations: 13.62 kB / 1.05 GB, free: 52.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.704, allocations: 1.359 kB / 1.05 GB, free: 52.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.7041, allocations: 9.484 kB / 1.05 GB, free: 52.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.7041, allocations: 7.125 kB / 1.05 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7041, allocations: 0 / 1.05 GB, free: 52.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.7045, allocations: 335 kB / 1.05 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.7047, allocations: 182.1 kB / 1.05 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.7047, allocations: 14.19 kB / 1.05 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.7049, allocations: 11.2 kB / 1.05 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.705, allocations: 15.59 kB / 1.05 GB, free: 52.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.705, allocations: 32.17 kB / 1.051 GB, free: 52.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002108/0.7053, allocations: 227.6 kB / 1.051 GB, free: 52.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.022e-06/0.7053, allocations: 0 / 1.051 GB, free: 52.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003064/0.7056, allocations: 55.09 kB / 1.051 GB, free: 52.22 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.0001711/0.7058, allocations: 130.4 kB / 1.051 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005217/0.7063, allocations: 373.2 kB / 1.051 GB, free: 51.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7063, allocations: 8.062 kB / 1.051 GB, free: 51.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.7065, allocations: 68.5 kB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.7068, allocations: 32.42 kB / 1.051 GB, free: 51.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/0.7076, allocations: 0.5094 MB / 1.052 GB, free: 51.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.7078, allocations: 0.7519 MB / 1.053 GB, free: 50.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.7079, allocations: 36.78 kB / 1.053 GB, free: 50.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.708, allocations: 43.22 kB / 1.053 GB, free: 50.78 MB / 0.698 GB Notification: Performance of SimCode: time 1.643e-06/0.708, allocations: 0 / 1.053 GB, free: 50.78 MB / 0.698 GB Notification: Performance of Templates: time 0.009416/0.7175, allocations: 4.38 MB / 1.057 GB, free: 50.39 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)