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.001457/0.001457, allocations: 101.4 kB / 15.69 MB, free: 140 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.002048/0.002048, allocations: 200.9 kB / 16.63 MB, free: 6.324 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.402 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.864/1.864, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001507/0.001507, allocations: 72.16 kB / 0.6723 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3016, allocations: 114.5 MB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003008/0.3047, allocations: 1.665 MB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3058, allocations: 489 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.3059, allocations: 0 / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.3061, allocations: 11.86 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.3062, allocations: 36.09 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007828/0.307, allocations: 281.9 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.3075, allocations: 411.5 kB / 0.787 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3076, allocations: 37.08 kB / 0.787 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.3079, allocations: 227.6 kB / 0.7872 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.3082, allocations: 126.5 kB / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.3082, allocations: 28 kB / 0.7874 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.023e-05/0.3083, allocations: 28 kB / 0.7874 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3084, allocations: 95.7 kB / 0.7875 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.3086, allocations: 155.2 kB / 0.7876 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.309, allocations: 422.7 kB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.309, allocations: 4 kB / 0.788 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.309, allocations: 4 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.309, allocations: 0 / 0.788 GB, free: 8.75 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.3101, allocations: 0.7772 MB / 0.7888 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3102, allocations: 8.031 kB / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3103, allocations: 36.64 kB / 0.7888 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.3106, allocations: 284.1 kB / 0.7891 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.3107, allocations: 16.38 kB / 0.7891 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.3107, allocations: 27.92 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008895/0.3116, allocations: 224.2 kB / 0.7894 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3116, allocations: 0 / 0.7894 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.3117, allocations: 3.984 kB / 0.7894 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3117, allocations: 4 kB / 0.7894 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.3124, allocations: 115.9 kB / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3135, allocations: 0.5511 MB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/0.3145, allocations: 182.5 kB / 0.7902 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007171/0.3152, allocations: 112.7 kB / 0.7903 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.3152, allocations: 4 kB / 0.7903 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009184/0.3162, allocations: 227 kB / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.3162, allocations: 4 kB / 0.7905 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002392/0.3186, allocations: 453.1 kB / 0.791 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.3186, allocations: 71.33 kB / 0.791 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.319, allocations: 320.4 kB / 0.7913 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.3191, allocations: 37.7 kB / 0.7914 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.3192, allocations: 101 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.3193, allocations: 35.62 kB / 0.7915 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.3195, allocations: 105.5 kB / 0.7916 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3196, allocations: 322.8 kB / 0.7919 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.3199, allocations: 95.89 kB / 0.792 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.3201, allocations: 150.8 kB / 0.7921 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.3205, allocations: 257.2 kB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3205, allocations: 0 / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007113/0.3212, allocations: 431.2 kB / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-05/0.3213, allocations: 75.39 kB / 0.7929 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3213, allocations: 0 / 0.7929 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3214, allocations: 4 kB / 0.7929 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.3215, allocations: 27.86 kB / 0.7929 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3216, allocations: 4 kB / 0.7929 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.322, allocations: 56.05 kB / 0.793 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.3221, allocations: 39.98 kB / 0.793 GB, free: 3.32 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.000294/0.3224, allocations: 188.4 kB / 0.7932 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.3224, allocations: 23.72 kB / 0.7932 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-05/0.3225, allocations: 26.36 kB / 0.7932 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3226, allocations: 7.938 kB / 0.7932 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3226, allocations: 0 / 0.7932 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3226, allocations: 0 / 0.7932 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.3247, allocations: 0.731 MB / 0.7939 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3247, allocations: 7.938 kB / 0.7939 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.3248, allocations: 7.984 kB / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3248, allocations: 4 kB / 0.794 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.3248, allocations: 15.98 kB / 0.794 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3248, allocations: 0 / 0.794 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3248, allocations: 0 / 0.794 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.3265, allocations: 455.3 kB / 0.7944 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.3267, allocations: 192.6 kB / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.3268, allocations: 16 kB / 0.7946 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.3272, allocations: 35.95 kB / 0.7946 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.3272, allocations: 7.938 kB / 0.7946 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.3273, allocations: 43.97 kB / 0.7947 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002222/0.3275, allocations: 227 kB / 0.7949 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3275, allocations: 4 kB / 0.7949 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003753/0.3279, allocations: 63.83 kB / 0.795 GB, free: 1.191 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.0001939/0.3281, allocations: 131.2 kB / 0.7951 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.3293, allocations: 401.9 kB / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3293, allocations: 0 / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007153/0.33, allocations: 119.9 kB / 0.7956 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.3305, allocations: 61.28 kB / 0.7957 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.332, allocations: 472.7 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3324, allocations: 0.7552 MB / 0.7968 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.873e-05/0.3325, allocations: 9.438 kB / 0.7968 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3326, allocations: 19.42 kB / 0.7969 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.3326, allocations: 0 / 0.7969 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of Templates: time 0.008256/0.3408, allocations: 3.994 MB / 0.8008 GB, free: 11.21 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)