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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.062/2.062, 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.001334/0.001334, allocations: 179.5 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.617/1.617, allocations: 225.7 MB / 0.6743 GB, free: 12.62 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.0008464/0.0008462, allocations: 98.58 kB / 0.7935 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 8 kB / 0.9225 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/0.7143, allocations: 121.3 MB / 1.041 GB, free: 59.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003024/0.7174, allocations: 1.358 MB / 1.042 GB, free: 58.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.7195, allocations: 0.7972 MB / 1.043 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.7198, allocations: 0 / 1.043 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.72, allocations: 6.469 kB / 1.043 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.7202, allocations: 23.33 kB / 1.043 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.7216, allocations: 256.3 kB / 1.043 GB, free: 57.63 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007507/0.7223, allocations: 351.7 kB / 1.044 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.7226, allocations: 29.62 kB / 1.044 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007528/0.7233, allocations: 237.2 kB / 1.044 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004703/0.7238, allocations: 124.9 kB / 1.044 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.724, allocations: 13.17 kB / 1.044 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.7241, allocations: 11.03 kB / 1.044 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.7243, allocations: 70.81 kB / 1.044 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.7247, allocations: 167.5 kB / 1.044 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.7254, allocations: 397.5 kB / 1.045 GB, free: 57.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.7254, allocations: 0.75 kB / 1.045 GB, free: 57.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7254, allocations: 0 / 1.045 GB, free: 57.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.7254, allocations: 0.5 kB / 1.045 GB, free: 57.13 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.001806/0.7273, allocations: 0.6429 MB / 1.045 GB, free: 56.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.7273, allocations: 9.469 kB / 1.045 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.7276, allocations: 35.25 kB / 1.045 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.7281, allocations: 284.6 kB / 1.046 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.07e-05/0.7282, allocations: 14.47 kB / 1.046 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.7283, allocations: 20.17 kB / 1.046 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.7288, allocations: 165.6 kB / 1.046 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.7289, allocations: 5.219 kB / 1.046 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.7289, allocations: 4.281 kB / 1.046 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.7289, allocations: 4.5 kB / 1.046 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.7292, allocations: 72.12 kB / 1.046 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.7307, allocations: 0.5555 MB / 1.046 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.7312, allocations: 146.1 kB / 1.047 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.7314, allocations: 56.36 kB / 1.047 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.7314, allocations: 2.375 kB / 1.047 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007078/0.7321, allocations: 230.3 kB / 1.047 GB, free: 55.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.065e-06/0.7322, allocations: 7.469 kB / 1.047 GB, free: 55.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.000854/0.733, allocations: 274.6 kB / 1.047 GB, free: 55.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.7331, allocations: 62.12 kB / 1.047 GB, free: 55.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.7336, allocations: 314.8 kB / 1.047 GB, free: 55.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.7336, allocations: 37.88 kB / 1.047 GB, free: 55.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.7338, allocations: 100.4 kB / 1.048 GB, free: 55.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.696e-05/0.7338, allocations: 44.2 kB / 1.048 GB, free: 55.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.7339, allocations: 10.11 kB / 1.048 GB, free: 55.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.734, allocations: 322.2 kB / 1.048 GB, free: 54.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.7344, allocations: 111 kB / 1.048 GB, free: 54.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.7347, allocations: 165.4 kB / 1.048 GB, free: 54.63 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.7352, allocations: 254.1 kB / 1.048 GB, free: 54.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.7352, allocations: 5.688 kB / 1.048 GB, free: 54.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009675/0.7362, allocations: 443.8 kB / 1.049 GB, free: 54.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/0.7363, allocations: 78.5 kB / 1.049 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.7363, allocations: 7.562 kB / 1.049 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.7363, allocations: 0 / 1.049 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.7366, allocations: 23.91 kB / 1.049 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.7366, allocations: 13.33 kB / 1.049 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/0.7373, allocations: 73.81 kB / 1.049 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.7374, allocations: 55.58 kB / 1.049 GB, free: 54.12 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.000265/0.7377, allocations: 186.1 kB / 1.049 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.7378, allocations: 34.5 kB / 1.049 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.182e-05/0.7379, allocations: 34.98 kB / 1.049 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.7379, allocations: 0 / 1.049 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.7379, allocations: 0 / 1.049 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.7379, allocations: 6.641 kB / 1.049 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.7389, allocations: 0.5874 MB / 1.05 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.739, allocations: 1.266 kB / 1.05 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.739, allocations: 20.89 kB / 1.05 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.739, allocations: 4.812 kB / 1.05 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.7391, allocations: 11.75 kB / 1.05 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.7391, allocations: 0 / 1.05 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.7391, allocations: 0 / 1.05 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.7397, allocations: 339.1 kB / 1.05 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.7399, allocations: 179.9 kB / 1.05 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/0.74, allocations: 11.25 kB / 1.05 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.7403, allocations: 16.72 kB / 1.05 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.7404, allocations: 17.64 kB / 1.05 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/0.7405, allocations: 28.33 kB / 1.051 GB, free: 53.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003105/0.7408, allocations: 226.5 kB / 1.051 GB, free: 53.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7408, allocations: 1.281 kB / 1.051 GB, free: 53.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005109/0.7413, allocations: 49.88 kB / 1.051 GB, free: 53.03 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.0002367/0.7416, allocations: 135.7 kB / 1.051 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007912/0.7424, allocations: 370 kB / 1.051 GB, free: 52.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7424, allocations: 0 / 1.051 GB, free: 52.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.7426, allocations: 81.08 kB / 1.051 GB, free: 52.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.7432, allocations: 26.5 kB / 1.051 GB, free: 52.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.7443, allocations: 0.5138 MB / 1.052 GB, free: 52.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.7446, allocations: 0.7529 MB / 1.053 GB, free: 51.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.7448, allocations: 33.7 kB / 1.053 GB, free: 51.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.745, allocations: 44.2 kB / 1.053 GB, free: 51.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.304e-06/0.745, allocations: 0 / 1.053 GB, free: 51.59 MB / 0.698 GB Notification: Performance of Templates: time 0.0125/0.7575, allocations: 4.374 MB / 1.057 GB, free: 51.21 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)