Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 297.4 MB / 312.6 MB, free: 2.945 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.0009752/0.0009755, allocations: 201.5 kB / 382.3 MB, free: 14.83 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.333/1.333, allocations: 225.7 MB / 0.6617 GB, free: 7.219 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.0008918/0.0008917, allocations: 88.91 kB / 0.7789 GB, free: 46.81 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 8 kB / 0.9058 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5263/0.5267, allocations: 119.2 MB / 1.022 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002085/0.5288, allocations: 1.192 MB / 1.023 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.5299, allocations: 0.7283 MB / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.53, allocations: 0.9062 kB / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.876e-05/0.5301, allocations: 6.203 kB / 1.024 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.933e-05/0.5302, allocations: 27.09 kB / 1.024 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.5308, allocations: 227.7 kB / 1.024 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.5311, allocations: 289.6 kB / 1.025 GB, free: 56.15 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.5312, allocations: 5.266 kB / 1.025 GB, free: 56.15 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.5315, allocations: 221.4 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.5318, allocations: 117.7 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.5318, allocations: 10.72 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.5319, allocations: 11.06 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.532, allocations: 73.73 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.5323, allocations: 154.3 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.5326, allocations: 274.1 kB / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5326, allocations: 0 / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5326, allocations: 1.344 kB / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.5326, allocations: 0 / 1.025 GB, free: 55.88 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.0009209/0.5336, allocations: 0.6127 MB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5336, allocations: 9.75 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.5337, allocations: 32.06 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.534, allocations: 273 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.534, allocations: 15.8 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.5341, allocations: 22.17 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.5343, allocations: 142.2 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5343, allocations: 0 / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.5344, allocations: 7.969 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5344, allocations: 0 / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.5345, allocations: 46.98 kB / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.5348, allocations: 319.2 kB / 1.027 GB, free: 54.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.535, allocations: 122.7 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.5352, allocations: 59.27 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.5352, allocations: 3.922 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003948/0.5356, allocations: 216.3 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.5356, allocations: 0 / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0004972/0.5361, allocations: 271 kB / 1.028 GB, free: 54.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.5361, allocations: 72.17 kB / 1.028 GB, free: 54.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.5364, allocations: 289.4 kB / 1.028 GB, free: 54.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.5364, allocations: 39.14 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.5364, allocations: 87.3 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.5365, allocations: 48.88 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.5365, allocations: 7.344 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.5366, allocations: 321.2 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.5368, allocations: 94.2 kB / 1.028 GB, free: 53.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.537, allocations: 145.4 kB / 1.029 GB, free: 53.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.5373, allocations: 249.6 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5373, allocations: 0 / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005935/0.5379, allocations: 413.7 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.5379, allocations: 73.14 kB / 1.029 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5379, allocations: 0 / 1.029 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5379, allocations: 3.562 kB / 1.029 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.5381, allocations: 32.77 kB / 1.029 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5381, allocations: 5.5 kB / 1.029 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.5386, allocations: 67.83 kB / 1.029 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/0.5387, allocations: 54.53 kB / 1.029 GB, free: 53.18 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.0001361/0.5389, allocations: 177 kB / 1.03 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.5389, allocations: 25.86 kB / 1.03 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.539, allocations: 31.19 kB / 1.03 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.539, allocations: 2.531 kB / 1.03 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.539, allocations: 0 / 1.03 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.539, allocations: 3.609 kB / 1.03 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.5397, allocations: 0.5663 MB / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5397, allocations: 0 / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.5397, allocations: 13.95 kB / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5397, allocations: 1.031 kB / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.5398, allocations: 11.16 kB / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5398, allocations: 7.016 kB / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5398, allocations: 0 / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.5401, allocations: 322.7 kB / 1.031 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.5403, allocations: 162.1 kB / 1.031 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.5403, allocations: 8.25 kB / 1.031 GB, free: 52.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.5405, allocations: 20.53 kB / 1.031 GB, free: 52.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.5406, allocations: 18.81 kB / 1.031 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.5406, allocations: 29.03 kB / 1.031 GB, free: 52.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001409/0.5408, allocations: 206.4 kB / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5408, allocations: 0 / 1.031 GB, free: 52.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002887/0.5411, allocations: 53.11 kB / 1.031 GB, free: 52.15 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.0001103/0.5412, allocations: 123.5 kB / 1.031 GB, free: 52.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004427/0.5416, allocations: 338.4 kB / 1.032 GB, free: 51.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5417, allocations: 0 / 1.032 GB, free: 51.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.5418, allocations: 73.95 kB / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.5421, allocations: 26.66 kB / 1.032 GB, free: 51.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.5427, allocations: 465.6 kB / 1.032 GB, free: 51.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.5429, allocations: 0.7493 MB / 1.033 GB, free: 50.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.543, allocations: 33.22 kB / 1.033 GB, free: 50.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.5431, allocations: 38.75 kB / 1.033 GB, free: 50.79 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.5431, allocations: 0 / 1.033 GB, free: 50.79 MB / 0.698 GB Notification: Performance of Templates: time 0.006446/0.5496, allocations: 3.994 MB / 1.037 GB, free: 50.43 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)