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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.538/1.538, allocations: 291.7 MB / 306.8 MB, free: 7.68 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.0009943/0.0009943, allocations: 177.4 kB / 375.4 MB, free: 5.137 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.287/1.287, allocations: 225.7 MB / 0.6538 GB, free: 13.54 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.0008547/0.0008547, allocations: 97.73 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003925, allocations: 15.59 kB / 0.8956 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6229/0.6233, allocations: 118.1 MB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001647/0.625, allocations: 1.357 MB / 1.012 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.6258, allocations: 453.9 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.6259, allocations: 0 / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.734e-05/0.626, allocations: 7.5 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.6261, allocations: 28.39 kB / 1.013 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.6267, allocations: 212.8 kB / 1.013 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.627, allocations: 312.4 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.6271, allocations: 31.3 kB / 1.013 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.6275, allocations: 234.5 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.6277, allocations: 136.2 kB / 1.014 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.6277, allocations: 9.375 kB / 1.014 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.6278, allocations: 11.16 kB / 1.014 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.6279, allocations: 83.78 kB / 1.014 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.628, allocations: 74 kB / 1.014 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.6283, allocations: 323 kB / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6283, allocations: 0.75 kB / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.246e-06/0.6283, allocations: 0 / 1.014 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.6283, allocations: 7.344 kB / 1.014 GB, free: 57.21 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.001001/0.6293, allocations: 0.6338 MB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6294, allocations: 11.16 kB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.6295, allocations: 36.03 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.6298, allocations: 280.6 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.6298, allocations: 20.97 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.6299, allocations: 15.03 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.6303, allocations: 172.8 kB / 1.015 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.6303, allocations: 6.688 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.6303, allocations: 3.812 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.6303, allocations: 4.781 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.6305, allocations: 65 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.6315, allocations: 0.5644 MB / 1.016 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.6318, allocations: 135.5 kB / 1.016 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.632, allocations: 60.92 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.632, allocations: 2.969 kB / 1.016 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.6325, allocations: 235.5 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.244e-06/0.6325, allocations: 0 / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005663/0.6331, allocations: 282.9 kB / 1.017 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.6331, allocations: 57.12 kB / 1.017 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.6334, allocations: 322.5 kB / 1.017 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.6334, allocations: 43.92 kB / 1.017 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.6335, allocations: 98.05 kB / 1.017 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.6336, allocations: 39.19 kB / 1.017 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.6336, allocations: 8.969 kB / 1.017 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.6337, allocations: 326.8 kB / 1.017 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.6339, allocations: 108.1 kB / 1.017 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.6342, allocations: 161.1 kB / 1.018 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.6345, allocations: 261.2 kB / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6345, allocations: 0 / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006098/0.6352, allocations: 441.2 kB / 1.018 GB, free: 55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.6352, allocations: 82.69 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6352, allocations: 0 / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6353, allocations: 3 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.6354, allocations: 27.06 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.6354, allocations: 3 kB / 1.018 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.6359, allocations: 75.05 kB / 1.018 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.636, allocations: 51.73 kB / 1.019 GB, free: 54.92 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.0001851/0.6362, allocations: 193.3 kB / 1.019 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.6362, allocations: 25.12 kB / 1.019 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.6363, allocations: 34.14 kB / 1.019 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6363, allocations: 0 / 1.019 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6363, allocations: 1.688 kB / 1.019 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6363, allocations: 0.5625 kB / 1.019 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.6371, allocations: 0.6048 MB / 1.019 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6371, allocations: 0 / 1.019 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.6371, allocations: 13.38 kB / 1.019 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6371, allocations: 2.625 kB / 1.019 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.6372, allocations: 8.141 kB / 1.019 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6372, allocations: 0.6562 kB / 1.019 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6372, allocations: 6.5 kB / 1.019 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.6375, allocations: 334 kB / 1.02 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.6377, allocations: 184.9 kB / 1.02 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.501e-05/0.6378, allocations: 17.66 kB / 1.02 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.638, allocations: 11.3 kB / 1.02 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.638, allocations: 24.2 kB / 1.02 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.6381, allocations: 28.31 kB / 1.02 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001752/0.6383, allocations: 230.8 kB / 1.02 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6383, allocations: 0 / 1.02 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002865/0.6385, allocations: 53.12 kB / 1.02 GB, free: 54.12 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.0001671/0.6387, allocations: 124.1 kB / 1.02 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005028/0.6392, allocations: 369 kB / 1.021 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6392, allocations: 2.594 kB / 1.021 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.6394, allocations: 74.56 kB / 1.021 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.6397, allocations: 39.53 kB / 1.021 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.6405, allocations: 495.4 kB / 1.021 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.6407, allocations: 0.7545 MB / 1.022 GB, free: 52.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001443/0.6409, allocations: 37.62 kB / 1.022 GB, free: 52.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.641, allocations: 41.53 kB / 1.022 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.641, allocations: 0 / 1.022 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.007401/0.6484, allocations: 4.29 MB / 1.026 GB, free: 52.59 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)