Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001867/0.001867, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.625/1.625, allocations: 205.1 MB / 222 MB, free: 4.781 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.713/1.713, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001318/0.001318, allocations: 71.38 kB / 0.6708 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2806, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003193/0.2838, allocations: 1.744 MB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.285, allocations: 0.4963 MB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.2851, allocations: 4 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2852, allocations: 3.938 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2853, allocations: 28.22 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006418/0.286, allocations: 263.2 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.2863, allocations: 367.8 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2864, allocations: 25.11 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.2867, allocations: 234.2 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.2869, allocations: 135.5 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.287, allocations: 12 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.856e-05/0.2871, allocations: 12 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.2872, allocations: 83.7 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.2874, allocations: 139.3 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.2878, allocations: 418.9 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2878, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2878, allocations: 4 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2878, allocations: 0 / 0.7865 GB, free: 10.05 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.001167/0.289, allocations: 0.7771 MB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.289, allocations: 11.97 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.2891, allocations: 31.72 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.2895, allocations: 290.8 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.141e-05/0.2896, allocations: 12 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.2896, allocations: 20 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2907, allocations: 236.1 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2907, allocations: 3.938 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.2907, allocations: 11.97 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2907, allocations: 0 / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.2915, allocations: 111.9 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.2926, allocations: 0.5589 MB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000988/0.2936, allocations: 178.4 kB / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.2944, allocations: 108.8 kB / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2944, allocations: 4 kB / 0.7888 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009397/0.2953, allocations: 235 kB / 0.789 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.2954, allocations: 0 / 0.789 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002427/0.2978, allocations: 460.3 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.2979, allocations: 67.38 kB / 0.7895 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.2982, allocations: 324.4 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.2982, allocations: 33.7 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.2983, allocations: 101 kB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.2984, allocations: 39.61 kB / 0.79 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.2985, allocations: 97.48 kB / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2987, allocations: 330.8 kB / 0.7904 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.2989, allocations: 91.94 kB / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.2991, allocations: 146 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.2995, allocations: 253.2 kB / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2995, allocations: 0 / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006768/0.3002, allocations: 435.2 kB / 0.7913 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/0.3003, allocations: 79.39 kB / 0.7914 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3003, allocations: 0 / 0.7914 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3003, allocations: 4 kB / 0.7914 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3005, allocations: 23.91 kB / 0.7914 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3005, allocations: 4 kB / 0.7914 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.3009, allocations: 63.92 kB / 0.7915 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/0.301, allocations: 39.98 kB / 0.7915 GB, free: 4.609 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.000199/0.3012, allocations: 191.2 kB / 0.7917 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.3013, allocations: 27.7 kB / 0.7917 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.3013, allocations: 26.36 kB / 0.7918 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3014, allocations: 4 kB / 0.7918 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3014, allocations: 0 / 0.7918 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3014, allocations: 3.938 kB / 0.7918 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.3034, allocations: 0.7365 MB / 0.7925 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3034, allocations: 0 / 0.7925 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.3035, allocations: 8 kB / 0.7925 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3035, allocations: 4 kB / 0.7925 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.3035, allocations: 19.91 kB / 0.7925 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3035, allocations: 0 / 0.7925 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3035, allocations: 0 / 0.7925 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.3052, allocations: 458.9 kB / 0.7929 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3054, allocations: 196.5 kB / 0.7931 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.3055, allocations: 19.94 kB / 0.7932 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/0.3059, allocations: 27.97 kB / 0.7932 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.306, allocations: 7.984 kB / 0.7932 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.306, allocations: 51.97 kB / 0.7932 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002258/0.3063, allocations: 231 kB / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3063, allocations: 0 / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003411/0.3066, allocations: 55.91 kB / 0.7935 GB, free: 2.469 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.0001992/0.3068, allocations: 123.7 kB / 0.7936 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.308, allocations: 405.3 kB / 0.794 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.308, allocations: 0 / 0.794 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007257/0.3087, allocations: 119.8 kB / 0.7941 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3091, allocations: 31.69 kB / 0.7942 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3105, allocations: 0.5532 MB / 0.7947 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.311, allocations: 0.7516 MB / 0.7954 GB, free: 428 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.2e-05/0.3111, allocations: 21.41 kB / 0.7955 GB, free: 404 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.3111, allocations: 19.38 kB / 0.7955 GB, free: 384 kB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.3112, allocations: 0 / 0.7955 GB, free: 384 kB / 0.6075 GB Notification: Performance of Templates: time 0.007316/0.3185, allocations: 3.983 MB / 0.7994 GB, free: 12.43 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)