Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002689/0.002689, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.515/1.515, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.754/1.754, allocations: 292.3 MB / 0.5488 GB, free: 12.82 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.001466/0.001466, allocations: 71.61 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2848, allocations: 114.5 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002819/0.2877, allocations: 1.678 MB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2887, allocations: 488.3 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.2888, allocations: 0 / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.575e-05/0.2889, allocations: 11.86 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.289, allocations: 36.16 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006868/0.2897, allocations: 275.5 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.2901, allocations: 423.4 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2902, allocations: 25.11 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.2905, allocations: 223.6 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.2907, allocations: 120 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.204e-05/0.2908, allocations: 28 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.84e-05/0.2909, allocations: 32 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.291, allocations: 95.7 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.2912, allocations: 155.3 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.2916, allocations: 431 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2916, allocations: 0 / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2916, allocations: 0 / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2916, allocations: 0 / 0.7873 GB, free: 9.441 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.001055/0.2926, allocations: 0.7811 MB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2927, allocations: 12.03 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.943e-05/0.2928, allocations: 36.64 kB / 0.7881 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.2931, allocations: 284.1 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.2932, allocations: 28.3 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.2932, allocations: 20 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/0.2942, allocations: 225.4 kB / 0.7886 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2943, allocations: 0 / 0.7886 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.2943, allocations: 4 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2943, allocations: 4 kB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008008/0.2951, allocations: 111.9 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2962, allocations: 0.555 MB / 0.7893 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2973, allocations: 177.2 kB / 0.7894 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/0.2981, allocations: 116.8 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.2981, allocations: 3.984 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009824/0.2991, allocations: 237.9 kB / 0.7898 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.2991, allocations: 0 / 0.7898 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002586/0.3017, allocations: 453 kB / 0.7902 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3018, allocations: 67.33 kB / 0.7903 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.3021, allocations: 320.4 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.3021, allocations: 41.7 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.3022, allocations: 96.98 kB / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3023, allocations: 35.61 kB / 0.7907 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.3024, allocations: 105.5 kB / 0.7908 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3025, allocations: 322.8 kB / 0.7912 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.3028, allocations: 99.89 kB / 0.7912 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.303, allocations: 153.9 kB / 0.7914 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.3033, allocations: 252.1 kB / 0.7916 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3033, allocations: 0 / 0.7916 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006656/0.304, allocations: 424.8 kB / 0.792 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.932e-05/0.3041, allocations: 79.42 kB / 0.7921 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.3041, allocations: 4 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3041, allocations: 3.938 kB / 0.7921 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3043, allocations: 27.92 kB / 0.7921 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3043, allocations: 7.984 kB / 0.7922 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.3048, allocations: 59.8 kB / 0.7922 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.3049, allocations: 36 kB / 0.7922 GB, free: 3.992 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.0002074/0.3051, allocations: 195.2 kB / 0.7924 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.3052, allocations: 23.72 kB / 0.7925 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/0.3052, allocations: 30.36 kB / 0.7925 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3053, allocations: 3.938 kB / 0.7925 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3053, allocations: 4 kB / 0.7925 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3053, allocations: 3.984 kB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.3074, allocations: 0.7323 MB / 0.7932 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3074, allocations: 4 kB / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.3074, allocations: 7.984 kB / 0.7932 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3074, allocations: 0 / 0.7932 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.3075, allocations: 23.97 kB / 0.7932 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3075, allocations: 4 kB / 0.7933 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3075, allocations: 0 / 0.7933 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.3092, allocations: 453.8 kB / 0.7937 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.3094, allocations: 188.6 kB / 0.7939 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.3095, allocations: 19.98 kB / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.31, allocations: 31.97 kB / 0.7939 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.31, allocations: 11.92 kB / 0.7939 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.3101, allocations: 39.98 kB / 0.794 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002176/0.3103, allocations: 231 kB / 0.7942 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3103, allocations: 0 / 0.7942 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003852/0.3107, allocations: 59.84 kB / 0.7942 GB, free: 1.859 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.0002133/0.3109, allocations: 139.1 kB / 0.7944 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.3122, allocations: 398.5 kB / 0.7948 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3123, allocations: 4.375 kB / 0.7948 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.3131, allocations: 119.9 kB / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.3135, allocations: 38.06 kB / 0.7949 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3149, allocations: 488.5 kB / 0.7954 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3152, allocations: 0.7435 MB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.686e-05/0.3153, allocations: 13.42 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.3153, allocations: 23.44 kB / 0.7961 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.3153, allocations: 0 / 0.7961 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.007329/0.3227, allocations: 4.034 MB / 0.8001 GB, free: 11.84 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)