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.001274/0.001274, allocations: 109.4 kB / 15.69 MB, free: 128 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.001241/0.001241, allocations: 189 kB / 16.62 MB, free: 6.613 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.56/1.56, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.884/1.884, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001513/0.001513, allocations: 75.06 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2998, allocations: 114.5 MB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003111/0.3029, allocations: 1.666 MB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.304, allocations: 492.2 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.3041, allocations: 0 / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.822e-05/0.3042, allocations: 7.875 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.3043, allocations: 28.16 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.3051, allocations: 290.6 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.3055, allocations: 415.4 kB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3056, allocations: 37.09 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.3059, allocations: 223.6 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.3062, allocations: 134.5 kB / 0.7873 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.3062, allocations: 28 kB / 0.7874 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.902e-05/0.3063, allocations: 32 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3064, allocations: 95.7 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.3066, allocations: 147.2 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.307, allocations: 434.6 kB / 0.788 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.307, allocations: 0 / 0.788 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.307, allocations: 0 / 0.788 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.307, allocations: 0 / 0.788 GB, free: 8.703 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.001106/0.3081, allocations: 0.7811 MB / 0.7888 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3081, allocations: 8.031 kB / 0.7888 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.816e-05/0.3082, allocations: 32.66 kB / 0.7888 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.3086, allocations: 284.1 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.3086, allocations: 16.36 kB / 0.7891 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.3087, allocations: 23.94 kB / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009533/0.3097, allocations: 232 kB / 0.7894 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3097, allocations: 0 / 0.7894 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.3097, allocations: 4 kB / 0.7894 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3097, allocations: 0 / 0.7894 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000724/0.3105, allocations: 111.9 kB / 0.7895 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.3116, allocations: 0.5589 MB / 0.79 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009781/0.3126, allocations: 178.5 kB / 0.7902 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.3133, allocations: 116.7 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3134, allocations: 0 / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009517/0.3143, allocations: 234.1 kB / 0.7905 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.3143, allocations: 4 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002346/0.3167, allocations: 449.1 kB / 0.791 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3168, allocations: 67.34 kB / 0.791 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.3171, allocations: 320.4 kB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.3172, allocations: 41.69 kB / 0.7914 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/0.3172, allocations: 97.05 kB / 0.7915 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.3173, allocations: 35.59 kB / 0.7915 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.3175, allocations: 101.5 kB / 0.7916 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3176, allocations: 322.8 kB / 0.7919 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.3178, allocations: 99.88 kB / 0.792 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.318, allocations: 150.6 kB / 0.7921 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.3184, allocations: 253.2 kB / 0.7924 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3184, allocations: 0 / 0.7924 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006548/0.319, allocations: 423.4 kB / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.112e-05/0.3191, allocations: 79.38 kB / 0.7929 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3191, allocations: 4 kB / 0.7929 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3191, allocations: 4.188 kB / 0.7929 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3193, allocations: 31.86 kB / 0.7929 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3193, allocations: 4 kB / 0.7929 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.3198, allocations: 47.86 kB / 0.7929 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/0.3198, allocations: 39.98 kB / 0.793 GB, free: 3.285 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.0002162/0.3201, allocations: 188.4 kB / 0.7932 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.3201, allocations: 31.64 kB / 0.7932 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.3202, allocations: 34.36 kB / 0.7932 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3202, allocations: 3.938 kB / 0.7932 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3202, allocations: 0 / 0.7932 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3202, allocations: 0 / 0.7932 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.3222, allocations: 0.7326 MB / 0.7939 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3222, allocations: 3.938 kB / 0.794 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.3223, allocations: 8 kB / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3223, allocations: 0 / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.3223, allocations: 19.97 kB / 0.794 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3223, allocations: 4 kB / 0.794 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3223, allocations: 0 / 0.794 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3239, allocations: 457.3 kB / 0.7944 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3241, allocations: 192.6 kB / 0.7946 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.3242, allocations: 12 kB / 0.7946 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.3247, allocations: 35.97 kB / 0.7946 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.3247, allocations: 11.92 kB / 0.7947 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.3248, allocations: 43.97 kB / 0.7947 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002096/0.325, allocations: 231 kB / 0.7949 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.325, allocations: 0 / 0.7949 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003346/0.3253, allocations: 55.84 kB / 0.795 GB, free: 1.148 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.0001912/0.3255, allocations: 135.2 kB / 0.7951 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.3267, allocations: 394.5 kB / 0.7955 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3267, allocations: 0 / 0.7955 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007088/0.3274, allocations: 128.3 kB / 0.7956 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.3278, allocations: 34.66 kB / 0.7956 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.3292, allocations: 481.6 kB / 0.7961 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.3297, allocations: 0.7513 MB / 0.7968 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.19e-05/0.3297, allocations: 17.42 kB / 0.7968 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.3298, allocations: 15.44 kB / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.3298, allocations: 0 / 0.7969 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of Templates: time 0.007337/0.3371, allocations: 4.004 MB / 0.8008 GB, free: 11.17 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)