Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.766/1.766, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.001166/0.001166, allocations: 171.5 kB / 393.1 MB, free: 4.113 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.294/1.294, allocations: 225.7 MB / 0.6743 GB, free: 12.54 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.0009198/0.0009198, allocations: 101 kB / 0.7935 GB, free: 40.1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003531, allocations: 8 kB / 0.9224 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5703, allocations: 121.3 MB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001523/0.5719, allocations: 1.192 MB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008841/0.5728, allocations: 0.7321 MB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.5728, allocations: 0.7812 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.634e-05/0.5729, allocations: 5.25 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.573, allocations: 27.84 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.5736, allocations: 223.5 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.5739, allocations: 286.3 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.5739, allocations: 7.922 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.5743, allocations: 218.6 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.5745, allocations: 119.4 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.867e-05/0.5745, allocations: 11.19 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.787e-05/0.5746, allocations: 10.53 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.5747, allocations: 76.53 kB / 1.044 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.5749, allocations: 154.2 kB / 1.044 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.5752, allocations: 277.1 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5752, allocations: 0 / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5752, allocations: 0 / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.5752, allocations: 0 / 1.044 GB, free: 56.41 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009836/0.5762, allocations: 0.6124 MB / 1.045 GB, free: 55.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5763, allocations: 9.875 kB / 1.045 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.5764, allocations: 34.72 kB / 1.045 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.5767, allocations: 267.1 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.5768, allocations: 13.02 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.5768, allocations: 21.12 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.5772, allocations: 142.5 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.5772, allocations: 0.5 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.5772, allocations: 10.45 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5772, allocations: 0.7812 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.5774, allocations: 54.59 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.5778, allocations: 309.7 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.5781, allocations: 125.7 kB / 1.046 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.5782, allocations: 60.64 kB / 1.046 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.5783, allocations: 3.344 kB / 1.046 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005274/0.5788, allocations: 227.9 kB / 1.046 GB, free: 55.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.5788, allocations: 0 / 1.046 GB, free: 55.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005896/0.5794, allocations: 265.2 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.5795, allocations: 67.8 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.5798, allocations: 292.3 kB / 1.047 GB, free: 54.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.5798, allocations: 37.19 kB / 1.047 GB, free: 54.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.5799, allocations: 91.94 kB / 1.047 GB, free: 54.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.5799, allocations: 41.36 kB / 1.047 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.58, allocations: 9.844 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.58, allocations: 322 kB / 1.047 GB, free: 54.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.5803, allocations: 96.23 kB / 1.047 GB, free: 54.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.5805, allocations: 144.7 kB / 1.047 GB, free: 54.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.5808, allocations: 247.4 kB / 1.047 GB, free: 53.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5808, allocations: 1.125 kB / 1.047 GB, free: 53.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006279/0.5814, allocations: 416.3 kB / 1.048 GB, free: 53.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.5815, allocations: 76.12 kB / 1.048 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5815, allocations: 0 / 1.048 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5815, allocations: 4.75 kB / 1.048 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.5817, allocations: 29.47 kB / 1.048 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.5817, allocations: 1.844 kB / 1.048 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.5823, allocations: 67.67 kB / 1.048 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.5823, allocations: 54.19 kB / 1.048 GB, free: 53.69 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0001416/0.5825, allocations: 181.1 kB / 1.048 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.5825, allocations: 30.77 kB / 1.048 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.5826, allocations: 28.8 kB / 1.048 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5826, allocations: 2.5 kB / 1.048 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5826, allocations: 0.8438 kB / 1.048 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5826, allocations: 1.906 kB / 1.048 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.5833, allocations: 0.5658 MB / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5834, allocations: 0 / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.5834, allocations: 5.75 kB / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5834, allocations: 3.719 kB / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.5835, allocations: 10.78 kB / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5835, allocations: 3.938 kB / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5835, allocations: 0 / 1.049 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.5838, allocations: 327 kB / 1.049 GB, free: 52.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.584, allocations: 160 kB / 1.049 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.584, allocations: 10.11 kB / 1.049 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.5842, allocations: 22.92 kB / 1.049 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.5843, allocations: 17.75 kB / 1.049 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.5844, allocations: 29.77 kB / 1.049 GB, free: 52.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001489/0.5845, allocations: 206 kB / 1.05 GB, free: 52.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.5845, allocations: 0 / 1.05 GB, free: 52.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002835/0.5848, allocations: 52.8 kB / 1.05 GB, free: 52.66 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0001264/0.5849, allocations: 119.6 kB / 1.05 GB, free: 52.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.5854, allocations: 341.2 kB / 1.05 GB, free: 52.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5854, allocations: 0 / 1.05 GB, free: 52.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.5856, allocations: 76.28 kB / 1.05 GB, free: 52.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.5859, allocations: 21.33 kB / 1.05 GB, free: 52.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.5866, allocations: 471.1 kB / 1.051 GB, free: 52.01 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.5868, allocations: 0.7402 MB / 1.051 GB, free: 51.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000142/0.5869, allocations: 36.89 kB / 1.051 GB, free: 51.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.5871, allocations: 35.72 kB / 1.051 GB, free: 51.28 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5871, allocations: 0 / 1.051 GB, free: 51.28 MB / 0.698 GB Notification: Performance of Templates: time 0.006966/0.5941, allocations: 3.989 MB / 1.055 GB, free: 50.91 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)