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.0009524/0.0009523, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006977/0.006978, allocations: 170.6 kB / 16.27 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.912/1.912, allocations: 205.4 MB / 222.4 MB, free: 5.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.82/1.82, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005452/0.0005452, allocations: 16.44 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3115, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002407/0.314, allocations: 1.39 MB / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.3154, allocations: 0.494 MB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3156, allocations: 0 / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.3158, allocations: 7.938 kB / 0.7897 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.316, allocations: 28.22 kB / 0.7898 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3172, allocations: 270.8 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.3176, allocations: 359.8 kB / 0.7904 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.3178, allocations: 37.08 kB / 0.7904 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.3182, allocations: 230.2 kB / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.3184, allocations: 127.5 kB / 0.7908 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.3185, allocations: 12 kB / 0.7908 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.3185, allocations: 12 kB / 0.7908 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.3187, allocations: 79.72 kB / 0.7909 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.3189, allocations: 161 kB / 0.791 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.3193, allocations: 410.8 kB / 0.7914 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3193, allocations: 0 / 0.7914 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3193, allocations: 0 / 0.7914 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3193, allocations: 0 / 0.7914 GB, free: 7.977 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.001068/0.3204, allocations: 0.6914 MB / 0.7921 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3204, allocations: 8.031 kB / 0.7921 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3205, allocations: 39.61 kB / 0.7921 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.3209, allocations: 282.9 kB / 0.7924 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.321, allocations: 16 kB / 0.7924 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.3211, allocations: 23.98 kB / 0.7924 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.3221, allocations: 243.9 kB / 0.7927 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3221, allocations: 3.938 kB / 0.7927 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.3222, allocations: 4 kB / 0.7927 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3222, allocations: 4 kB / 0.7927 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.3229, allocations: 119.9 kB / 0.7928 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3242, allocations: 0.5667 MB / 0.7933 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3252, allocations: 194.4 kB / 0.7935 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000761/0.326, allocations: 124.8 kB / 0.7936 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.3261, allocations: 3.984 kB / 0.7936 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009641/0.327, allocations: 238 kB / 0.7939 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.585e-06/0.327, allocations: 0 / 0.7939 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002552/0.3296, allocations: 493 kB / 0.7943 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.3297, allocations: 67.41 kB / 0.7944 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.3301, allocations: 320.4 kB / 0.7947 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.3301, allocations: 37.7 kB / 0.7947 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.3302, allocations: 97.03 kB / 0.7948 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.3303, allocations: 39.59 kB / 0.7949 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.3304, allocations: 33.7 kB / 0.7949 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3305, allocations: 330.8 kB / 0.7952 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.3307, allocations: 91.94 kB / 0.7953 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.3309, allocations: 149.9 kB / 0.7955 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3313, allocations: 253.2 kB / 0.7957 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3313, allocations: 0 / 0.7957 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006793/0.332, allocations: 426.5 kB / 0.7961 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.3321, allocations: 83.39 kB / 0.7962 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.3321, allocations: 3.984 kB / 0.7962 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3321, allocations: 4 kB / 0.7962 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3323, allocations: 20.11 kB / 0.7962 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3323, allocations: 8 kB / 0.7962 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.3328, allocations: 63.8 kB / 0.7963 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.3329, allocations: 39.98 kB / 0.7963 GB, free: 2.59 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.0002135/0.3331, allocations: 191.2 kB / 0.7965 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.3331, allocations: 27.7 kB / 0.7965 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.3332, allocations: 26.36 kB / 0.7966 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3332, allocations: 4 kB / 0.7966 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3332, allocations: 0 / 0.7966 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3332, allocations: 3.938 kB / 0.7966 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.3354, allocations: 0.756 MB / 0.7973 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3354, allocations: 7.938 kB / 0.7973 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.3354, allocations: 0 / 0.7973 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3354, allocations: 4 kB / 0.7973 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.3355, allocations: 23.91 kB / 0.7973 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3355, allocations: 0 / 0.7973 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3355, allocations: 0 / 0.7973 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.3372, allocations: 482 kB / 0.7978 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.3374, allocations: 192.6 kB / 0.798 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.3375, allocations: 27.92 kB / 0.798 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.338, allocations: 31.97 kB / 0.798 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.338, allocations: 7.984 kB / 0.798 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/0.3381, allocations: 47.97 kB / 0.7981 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002581/0.3383, allocations: 231 kB / 0.7983 GB, free: 468 kB / 0.6075 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3383, allocations: 0 / 0.7983 GB, free: 468 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000389/0.3387, allocations: 52 kB / 0.7984 GB, free: 416 kB / 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.0002377/0.339, allocations: 127.7 kB / 0.7985 GB, free: 276 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.3402, allocations: 410.5 kB / 0.7989 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3402, allocations: 0 / 0.7989 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007608/0.341, allocations: 132.2 kB / 0.799 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.3414, allocations: 32.64 kB / 0.799 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.3429, allocations: 0.5658 MB / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3433, allocations: 0.7555 MB / 0.8003 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.758e-05/0.3433, allocations: 17.42 kB / 0.8003 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.3434, allocations: 15.44 kB / 0.8003 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.3434, allocations: 0 / 0.8003 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of Templates: time 0.007386/0.3508, allocations: 3.946 MB / 0.8042 GB, free: 10.36 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: