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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.572/1.572, allocations: 291.7 MB / 306.8 MB, free: 7.703 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.0009576/0.0009576, allocations: 192.2 kB / 375.4 MB, free: 5.121 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.365/1.365, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0007787/0.0007788, allocations: 98.3 kB / 0.7699 GB, free: 50.45 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 14.72 kB / 0.8956 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6115/0.6119, allocations: 118.1 MB / 1.011 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001723/0.6136, allocations: 1.35 MB / 1.012 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007575/0.6144, allocations: 451.6 kB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.6145, allocations: 2.938 kB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.239e-05/0.6145, allocations: 6.047 kB / 1.013 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.6147, allocations: 25.34 kB / 1.013 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.6152, allocations: 217.9 kB / 1.013 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.6155, allocations: 307.9 kB / 1.013 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.6157, allocations: 36.39 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.616, allocations: 234.4 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.6162, allocations: 136.7 kB / 1.014 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.6162, allocations: 12.59 kB / 1.014 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.6163, allocations: 7 kB / 1.014 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.6164, allocations: 80.91 kB / 1.014 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.6165, allocations: 84.23 kB / 1.014 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.6167, allocations: 318.6 kB / 1.014 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.6168, allocations: 3.938 kB / 1.014 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6168, allocations: 0 / 1.014 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.6168, allocations: 0 / 1.014 GB, free: 57.56 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.0008998/0.6177, allocations: 0.6416 MB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.6177, allocations: 9.156 kB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.964e-05/0.6178, allocations: 36.86 kB / 1.015 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.6181, allocations: 276.9 kB / 1.015 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.6181, allocations: 16.12 kB / 1.015 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/0.6182, allocations: 20.16 kB / 1.015 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.6185, allocations: 169.4 kB / 1.015 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6185, allocations: 3.938 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.6185, allocations: 7.641 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.6185, allocations: 4.094 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.6187, allocations: 60.59 kB / 1.015 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.6196, allocations: 0.5613 MB / 1.016 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.6199, allocations: 139.3 kB / 1.016 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.62, allocations: 62.17 kB / 1.016 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.6201, allocations: 4.875 kB / 1.016 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004521/0.6205, allocations: 229.3 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.6205, allocations: 3.938 kB / 1.016 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005168/0.6211, allocations: 278.9 kB / 1.017 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.6211, allocations: 68.27 kB / 1.017 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.6214, allocations: 317.9 kB / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.6214, allocations: 36.14 kB / 1.017 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.6215, allocations: 99.48 kB / 1.017 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.6215, allocations: 39.48 kB / 1.017 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.6216, allocations: 9.75 kB / 1.017 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.6216, allocations: 331 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.6219, allocations: 101.3 kB / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.6221, allocations: 167 kB / 1.018 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.6224, allocations: 256.4 kB / 1.018 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6224, allocations: 0 / 1.018 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006096/0.6231, allocations: 440.9 kB / 1.018 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/0.6231, allocations: 79.23 kB / 1.018 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6231, allocations: 2.531 kB / 1.018 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6231, allocations: 2.5 kB / 1.018 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6233, allocations: 28.81 kB / 1.018 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.6233, allocations: 5.594 kB / 1.018 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.6238, allocations: 74.27 kB / 1.018 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.6238, allocations: 54.53 kB / 1.019 GB, free: 55.27 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.0001614/0.624, allocations: 190.3 kB / 1.019 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.6241, allocations: 25.08 kB / 1.019 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.6241, allocations: 36.17 kB / 1.019 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6241, allocations: 5.719 kB / 1.019 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6241, allocations: 0 / 1.019 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6241, allocations: 1.125 kB / 1.019 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.6248, allocations: 0.6017 MB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6248, allocations: 0 / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.6248, allocations: 11.14 kB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6248, allocations: 2.875 kB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.6249, allocations: 15.42 kB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6249, allocations: 0 / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6249, allocations: 3.938 kB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.6252, allocations: 333.5 kB / 1.02 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.6254, allocations: 180.2 kB / 1.02 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.6255, allocations: 12.97 kB / 1.02 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.6257, allocations: 18.39 kB / 1.02 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.6258, allocations: 23.06 kB / 1.02 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.6258, allocations: 31.12 kB / 1.02 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001709/0.626, allocations: 229.2 kB / 1.02 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.626, allocations: 0 / 1.02 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002853/0.6263, allocations: 50.12 kB / 1.02 GB, free: 54.47 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.0001508/0.6264, allocations: 132.1 kB / 1.02 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.6269, allocations: 366.1 kB / 1.021 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6269, allocations: 0 / 1.021 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.6271, allocations: 78.78 kB / 1.021 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.6274, allocations: 38.42 kB / 1.021 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.6281, allocations: 488.7 kB / 1.021 GB, free: 53.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.6283, allocations: 0.7569 MB / 1.022 GB, free: 53.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.6285, allocations: 40.81 kB / 1.022 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.6286, allocations: 38.48 kB / 1.022 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/0.6286, allocations: 0 / 1.022 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.006758/0.6354, allocations: 4.286 MB / 1.026 GB, free: 52.93 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)