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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.89/1.89, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001457/0.001457, allocations: 175 kB / 393.1 MB, free: 4.086 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.551/1.551, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0007785/0.0007785, allocations: 99.39 kB / 0.7935 GB, free: 40.24 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 12.91 kB / 0.9225 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7301, allocations: 121.3 MB / 1.041 GB, free: 59.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002137/0.7323, allocations: 1.365 MB / 1.042 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.7336, allocations: 0.7862 MB / 1.043 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.7337, allocations: 2.219 kB / 1.043 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.981e-05/0.7338, allocations: 8.297 kB / 1.043 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.7339, allocations: 27.94 kB / 1.043 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.7346, allocations: 255.9 kB / 1.043 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.7349, allocations: 349.8 kB / 1.044 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.7351, allocations: 34.25 kB / 1.044 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.7354, allocations: 228.3 kB / 1.044 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.7356, allocations: 127.1 kB / 1.044 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.7357, allocations: 8.062 kB / 1.044 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.054e-05/0.7358, allocations: 13.75 kB / 1.044 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.7359, allocations: 80.38 kB / 1.044 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.7361, allocations: 159.1 kB / 1.044 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.7365, allocations: 398.8 kB / 1.045 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.7366, allocations: 0.6562 kB / 1.045 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.796e-06/0.7366, allocations: 0 / 1.045 GB, free: 56.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7366, allocations: 0.75 kB / 1.045 GB, free: 56.96 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.001071/0.7377, allocations: 0.6353 MB / 1.045 GB, free: 56.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7377, allocations: 8.281 kB / 1.045 GB, free: 56.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.7378, allocations: 39.77 kB / 1.045 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.7381, allocations: 287.4 kB / 1.046 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.7382, allocations: 14.97 kB / 1.046 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.7382, allocations: 22.88 kB / 1.046 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.7386, allocations: 165.5 kB / 1.046 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7386, allocations: 3.938 kB / 1.046 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.7386, allocations: 9.156 kB / 1.046 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7386, allocations: 0 / 1.046 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.7388, allocations: 67.62 kB / 1.046 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.7398, allocations: 0.5566 MB / 1.046 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.7401, allocations: 145.8 kB / 1.047 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.7402, allocations: 65.19 kB / 1.047 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.7403, allocations: 1.594 kB / 1.047 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004688/0.7407, allocations: 239.5 kB / 1.047 GB, free: 55.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.7408, allocations: 0 / 1.047 GB, free: 55.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0006127/0.7414, allocations: 283 kB / 1.047 GB, free: 55.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.7414, allocations: 59.33 kB / 1.047 GB, free: 55.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.7418, allocations: 316.5 kB / 1.047 GB, free: 55.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.7418, allocations: 41.55 kB / 1.047 GB, free: 55.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.7419, allocations: 96.52 kB / 1.048 GB, free: 54.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.742, allocations: 38.45 kB / 1.048 GB, free: 54.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.742, allocations: 8.438 kB / 1.048 GB, free: 54.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.7421, allocations: 322.9 kB / 1.048 GB, free: 54.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.7423, allocations: 104.8 kB / 1.048 GB, free: 54.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.7426, allocations: 174.8 kB / 1.048 GB, free: 54.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.7429, allocations: 262.2 kB / 1.048 GB, free: 54.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7429, allocations: 0.8438 kB / 1.048 GB, free: 54.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006851/0.7436, allocations: 446.4 kB / 1.049 GB, free: 54.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.37e-05/0.7437, allocations: 74.84 kB / 1.049 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.7437, allocations: 1.062 kB / 1.049 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.7437, allocations: 2.844 kB / 1.049 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.7439, allocations: 28.27 kB / 1.049 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.7439, allocations: 4.125 kB / 1.049 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.7445, allocations: 74.56 kB / 1.049 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.7445, allocations: 55.3 kB / 1.049 GB, free: 53.95 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.0001942/0.7447, allocations: 188.8 kB / 1.049 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.7448, allocations: 30.53 kB / 1.049 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.7448, allocations: 32.7 kB / 1.049 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.7449, allocations: 1.812 kB / 1.049 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7449, allocations: 3.953 kB / 1.049 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7449, allocations: 0.7031 kB / 1.049 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.7456, allocations: 0.5964 MB / 1.05 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.7456, allocations: 4 kB / 1.05 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.7456, allocations: 10.97 kB / 1.05 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.7456, allocations: 1.312 kB / 1.05 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.7457, allocations: 14.95 kB / 1.05 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.7457, allocations: 2.094 kB / 1.05 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7457, allocations: 3.938 kB / 1.05 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.746, allocations: 337.5 kB / 1.05 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.7462, allocations: 175.8 kB / 1.05 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.7463, allocations: 14.39 kB / 1.05 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.7465, allocations: 16.22 kB / 1.05 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.7465, allocations: 16.97 kB / 1.05 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.7466, allocations: 28.48 kB / 1.051 GB, free: 52.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002053/0.7468, allocations: 232.3 kB / 1.051 GB, free: 52.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7468, allocations: 0 / 1.051 GB, free: 52.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003001/0.7471, allocations: 51.12 kB / 1.051 GB, free: 52.85 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.0001718/0.7473, allocations: 133 kB / 1.051 GB, free: 52.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005002/0.7478, allocations: 372.2 kB / 1.051 GB, free: 52.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7478, allocations: 0 / 1.051 GB, free: 52.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.748, allocations: 69.53 kB / 1.051 GB, free: 52.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.7483, allocations: 33.28 kB / 1.051 GB, free: 52.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.749, allocations: 0.5105 MB / 1.052 GB, free: 52.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.7492, allocations: 0.7536 MB / 1.053 GB, free: 51.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000142/0.7494, allocations: 43 kB / 1.053 GB, free: 51.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.7495, allocations: 33 kB / 1.053 GB, free: 51.42 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.7495, allocations: 3.938 kB / 1.053 GB, free: 51.41 MB / 0.698 GB Notification: Performance of Templates: time 0.007637/0.7572, allocations: 4.372 MB / 1.057 GB, free: 51.04 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)