Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 106.8 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 188.4 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 65.73 kB / 0.6717 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2671, allocations: 114.6 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003434/0.2706, allocations: 1.732 MB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2718, allocations: 480.1 kB / 0.7857 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.2719, allocations: 4 kB / 0.7857 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.272, allocations: 7.922 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.2722, allocations: 32.22 kB / 0.7857 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.2729, allocations: 258.2 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.2734, allocations: 419.8 kB / 0.7864 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2735, allocations: 29.09 kB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.2739, allocations: 270.2 kB / 0.7867 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.2741, allocations: 147.5 kB / 0.7868 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.228e-05/0.2742, allocations: 28 kB / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.2743, allocations: 32 kB / 0.7869 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2744, allocations: 95.7 kB / 0.787 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.2746, allocations: 155.3 kB / 0.7871 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.275, allocations: 335.5 kB / 0.7874 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.275, allocations: 4 kB / 0.7874 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.275, allocations: 0 / 0.7874 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.275, allocations: 0 / 0.7874 GB, free: 9.859 MB / 0.6075 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.001237/0.2763, allocations: 0.7887 MB / 0.7882 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2763, allocations: 8.031 kB / 0.7882 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.2764, allocations: 35.7 kB / 0.7882 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.2768, allocations: 286.7 kB / 0.7885 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/0.2769, allocations: 12 kB / 0.7885 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.2769, allocations: 23.98 kB / 0.7885 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2779, allocations: 229.4 kB / 0.7888 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.278, allocations: 0 / 0.7888 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.278, allocations: 4 kB / 0.7888 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.278, allocations: 3.938 kB / 0.7888 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007665/0.2788, allocations: 107.9 kB / 0.7889 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.28, allocations: 0.5628 MB / 0.7894 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.281, allocations: 186.3 kB / 0.7896 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/0.2818, allocations: 120.7 kB / 0.7897 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.2818, allocations: 4 kB / 0.7897 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009771/0.2828, allocations: 221.3 kB / 0.7899 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.2828, allocations: 0 / 0.7899 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002568/0.2854, allocations: 461 kB / 0.7904 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.2854, allocations: 59.41 kB / 0.7904 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.2858, allocations: 324.4 kB / 0.7907 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.2859, allocations: 33.7 kB / 0.7908 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.286, allocations: 105 kB / 0.7909 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.286, allocations: 31.59 kB / 0.7909 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.2862, allocations: 105.5 kB / 0.791 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.2863, allocations: 326.8 kB / 0.7913 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.2866, allocations: 95.94 kB / 0.7914 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.2868, allocations: 142 kB / 0.7915 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.2872, allocations: 259.6 kB / 0.7918 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2872, allocations: 0 / 0.7918 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006988/0.2879, allocations: 424.8 kB / 0.7922 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.288, allocations: 90.19 kB / 0.7923 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.288, allocations: 0 / 0.7923 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.288, allocations: 4 kB / 0.7923 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.2882, allocations: 19.92 kB / 0.7923 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2882, allocations: 4 kB / 0.7923 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.2887, allocations: 51.86 kB / 0.7924 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.2888, allocations: 47.98 kB / 0.7924 GB, free: 4.418 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0002239/0.289, allocations: 191.6 kB / 0.7926 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.2891, allocations: 27.7 kB / 0.7926 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/0.2891, allocations: 26.36 kB / 0.7926 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2891, allocations: 4 kB / 0.7926 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.2892, allocations: 7.938 kB / 0.7926 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2892, allocations: 0 / 0.7926 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.2913, allocations: 0.7471 MB / 0.7934 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2913, allocations: 0 / 0.7934 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.2913, allocations: 4 kB / 0.7934 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2913, allocations: 0 / 0.7934 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.2914, allocations: 19.97 kB / 0.7934 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2914, allocations: 0 / 0.7934 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2914, allocations: 3.938 kB / 0.7934 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.2931, allocations: 458.8 kB / 0.7938 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.2933, allocations: 192.6 kB / 0.794 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.2934, allocations: 16 kB / 0.794 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.2939, allocations: 31.95 kB / 0.7941 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.2939, allocations: 8 kB / 0.7941 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.294, allocations: 43.97 kB / 0.7941 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000237/0.2942, allocations: 231 kB / 0.7943 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2942, allocations: 0 / 0.7943 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003859/0.2946, allocations: 59.89 kB / 0.7944 GB, free: 2.277 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.000205/0.2948, allocations: 127.7 kB / 0.7945 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.296, allocations: 403.1 kB / 0.7949 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.296, allocations: 4.062 kB / 0.7949 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.2968, allocations: 119.9 kB / 0.795 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.2972, allocations: 38.89 kB / 0.7951 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.2986, allocations: 0.5949 MB / 0.7956 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.299, allocations: 0.7513 MB / 0.7964 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.299, allocations: 19.42 kB / 0.7964 GB, free: 156 kB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2991, allocations: 0 / 0.7964 GB, free: 156 kB / 0.6075 GB Notification: Performance of Templates: time 0.005302/0.3044, allocations: 3.194 MB / 0.7995 GB, free: 12.97 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)