Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.565/1.565, allocations: 291.7 MB / 306.8 MB, free: 7.684 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.0009294/0.0009294, allocations: 189.2 kB / 375.4 MB, free: 5.094 MB / 298.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.301/1.301, allocations: 225.7 MB / 0.6538 GB, free: 13.59 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.0008527/0.0008528, allocations: 100.3 kB / 0.7699 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 13.28 kB / 0.8956 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6252/0.6256, allocations: 118.1 MB / 1.011 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001835/0.6275, allocations: 1.353 MB / 1.012 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008376/0.6284, allocations: 457.9 kB / 1.013 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.6285, allocations: 0 / 1.013 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.196e-05/0.6286, allocations: 6.75 kB / 1.013 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.6287, allocations: 23.41 kB / 1.013 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.6293, allocations: 213.7 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000291/0.6296, allocations: 310.1 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.6298, allocations: 35.12 kB / 1.013 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.6301, allocations: 232.7 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.6303, allocations: 137 kB / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.6303, allocations: 12.75 kB / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.6304, allocations: 8.938 kB / 1.014 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.6305, allocations: 84.17 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.6306, allocations: 76.64 kB / 1.014 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.6308, allocations: 320.3 kB / 1.014 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6308, allocations: 4.859 kB / 1.014 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6309, allocations: 0 / 1.014 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.6309, allocations: 0 / 1.014 GB, free: 57.53 MB / 0.7136 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.0009266/0.6318, allocations: 0.6393 MB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6318, allocations: 8.562 kB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.6319, allocations: 34.84 kB / 1.015 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.6322, allocations: 284.9 kB / 1.015 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.6323, allocations: 16.55 kB / 1.015 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.6323, allocations: 20.38 kB / 1.015 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.6326, allocations: 170.9 kB / 1.015 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6326, allocations: 8.031 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.6327, allocations: 2.656 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.6327, allocations: 0.625 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.6328, allocations: 64.3 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.6338, allocations: 0.5598 MB / 1.016 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.6341, allocations: 139.8 kB / 1.016 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.6342, allocations: 63.67 kB / 1.016 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.6343, allocations: 2.625 kB / 1.016 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004659/0.6347, allocations: 231.4 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.6347, allocations: 0.875 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004967/0.6352, allocations: 278.2 kB / 1.017 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.6353, allocations: 69.72 kB / 1.017 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.6356, allocations: 315.3 kB / 1.017 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.6356, allocations: 39.16 kB / 1.017 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.6357, allocations: 104.8 kB / 1.017 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.6357, allocations: 38.92 kB / 1.017 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.6358, allocations: 7.875 kB / 1.017 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.6358, allocations: 330.3 kB / 1.017 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.6361, allocations: 105.1 kB / 1.017 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.6363, allocations: 156.5 kB / 1.018 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.6366, allocations: 262.8 kB / 1.018 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6366, allocations: 0 / 1.018 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005878/0.6372, allocations: 437.2 kB / 1.018 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.6373, allocations: 80.48 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6373, allocations: 3.312 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6373, allocations: 3.5 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.6375, allocations: 30.81 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.6375, allocations: 2.906 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.638, allocations: 71.16 kB / 1.018 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.638, allocations: 57.78 kB / 1.019 GB, free: 55.24 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.6382, allocations: 193.1 kB / 1.019 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.6383, allocations: 22.38 kB / 1.019 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.6384, allocations: 36.89 kB / 1.019 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6384, allocations: 2.531 kB / 1.019 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6384, allocations: 0.8906 kB / 1.019 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6384, allocations: 1.375 kB / 1.019 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.639, allocations: 0.605 MB / 1.019 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.639, allocations: 0 / 1.019 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.6391, allocations: 10.66 kB / 1.019 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6391, allocations: 0 / 1.019 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.6391, allocations: 13.02 kB / 1.019 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.6391, allocations: 0 / 1.019 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6391, allocations: 12 kB / 1.019 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.6395, allocations: 327.4 kB / 1.02 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.6396, allocations: 186.3 kB / 1.02 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.6397, allocations: 14.12 kB / 1.02 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.6399, allocations: 13.44 kB / 1.02 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.64, allocations: 26.09 kB / 1.02 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.64, allocations: 26.3 kB / 1.02 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001745/0.6402, allocations: 230.7 kB / 1.02 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6402, allocations: 0 / 1.02 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003104/0.6405, allocations: 48.5 kB / 1.02 GB, free: 54.44 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/0.6407, allocations: 128.8 kB / 1.02 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.6412, allocations: 369.4 kB / 1.021 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6412, allocations: 0 / 1.021 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.6413, allocations: 79.91 kB / 1.021 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.6417, allocations: 35.25 kB / 1.021 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006871/0.6424, allocations: 496 kB / 1.021 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.6426, allocations: 0.7519 MB / 1.022 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000138/0.6427, allocations: 42.03 kB / 1.022 GB, free: 53.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.6429, allocations: 34.3 kB / 1.022 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6429, allocations: 3.938 kB / 1.022 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.007075/0.6499, allocations: 4.301 MB / 1.026 GB, free: 52.88 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)