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.0008494/0.0008494, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007217/0.007217, allocations: 172.4 kB / 16.26 MB, free: 6.676 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.878/1.878, 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.921/1.921, 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.000579/0.0005791, allocations: 19.72 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3218, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002926/0.3248, allocations: 1.39 MB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3264, allocations: 0.4915 MB / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.3265, allocations: 4 kB / 0.7897 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.3266, allocations: 11.92 kB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.3269, allocations: 24.22 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009521/0.3278, allocations: 259.6 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005967/0.3284, allocations: 367.8 kB / 0.7904 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3286, allocations: 25.11 kB / 0.7904 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004565/0.329, allocations: 238.2 kB / 0.7906 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.3294, allocations: 131.5 kB / 0.7908 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.051e-05/0.3295, allocations: 12 kB / 0.7908 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.3295, allocations: 11.94 kB / 0.7908 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.3298, allocations: 83.7 kB / 0.7909 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.33, allocations: 161 kB / 0.791 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.3304, allocations: 410.8 kB / 0.7914 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3304, allocations: 0 / 0.7914 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3305, allocations: 0 / 0.7914 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3305, allocations: 0 / 0.7914 GB, free: 7.945 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.001129/0.3316, allocations: 0.6875 MB / 0.7921 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.3317, allocations: 8.031 kB / 0.7921 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.3318, allocations: 35.62 kB / 0.7921 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.3322, allocations: 286.9 kB / 0.7924 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/0.3323, allocations: 12 kB / 0.7924 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.3324, allocations: 20 kB / 0.7924 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.3335, allocations: 249.3 kB / 0.7927 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3335, allocations: 0 / 0.7927 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.3335, allocations: 3.984 kB / 0.7927 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3335, allocations: 4 kB / 0.7927 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008039/0.3343, allocations: 119.9 kB / 0.7928 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.3358, allocations: 0.5667 MB / 0.7933 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3368, allocations: 197 kB / 0.7935 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007927/0.3377, allocations: 124.8 kB / 0.7936 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3377, allocations: 0 / 0.7936 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009914/0.3387, allocations: 243 kB / 0.7939 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.023e-06/0.3387, allocations: 0 / 0.7939 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002562/0.3413, allocations: 492.3 kB / 0.7943 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.3413, allocations: 67.39 kB / 0.7944 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.3417, allocations: 320.4 kB / 0.7947 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.3418, allocations: 37.7 kB / 0.7948 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.3419, allocations: 97.03 kB / 0.7948 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.342, allocations: 35.61 kB / 0.7949 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.3421, allocations: 33.7 kB / 0.7949 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3422, allocations: 334.8 kB / 0.7952 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.3425, allocations: 87.95 kB / 0.7953 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.3427, allocations: 150.6 kB / 0.7955 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.3431, allocations: 260 kB / 0.7957 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.3432, allocations: 0 / 0.7957 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007204/0.3439, allocations: 424.6 kB / 0.7961 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.344, allocations: 79.58 kB / 0.7962 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.344, allocations: 4 kB / 0.7962 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.344, allocations: 4 kB / 0.7962 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3442, allocations: 23.91 kB / 0.7962 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3442, allocations: 4 kB / 0.7962 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.3447, allocations: 71.73 kB / 0.7963 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.3448, allocations: 47.98 kB / 0.7963 GB, free: 2.555 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.0002302/0.345, allocations: 176.4 kB / 0.7965 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.3451, allocations: 23.72 kB / 0.7965 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/0.3451, allocations: 30.36 kB / 0.7966 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3452, allocations: 4 kB / 0.7966 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3452, allocations: 0 / 0.7966 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.3452, allocations: 7.922 kB / 0.7966 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.3474, allocations: 0.7521 MB / 0.7973 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3474, allocations: 3.984 kB / 0.7973 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.3474, allocations: 8 kB / 0.7973 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.3474, allocations: 4 kB / 0.7973 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.3475, allocations: 19.91 kB / 0.7973 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3475, allocations: 0 / 0.7973 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3475, allocations: 0 / 0.7973 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.3492, allocations: 474.9 kB / 0.7978 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.3495, allocations: 196.6 kB / 0.798 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.3496, allocations: 23.92 kB / 0.798 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.3501, allocations: 35.97 kB / 0.798 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3501, allocations: 11.97 kB / 0.798 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/0.3502, allocations: 43.97 kB / 0.7981 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002516/0.3504, allocations: 231 kB / 0.7983 GB, free: 444 kB / 0.6075 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3504, allocations: 0 / 0.7983 GB, free: 444 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003925/0.3508, allocations: 48 kB / 0.7984 GB, free: 396 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.0001989/0.3511, allocations: 131.6 kB / 0.7985 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.3524, allocations: 409.8 kB / 0.7989 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3524, allocations: 384 / 0.7989 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007873/0.3532, allocations: 127.9 kB / 0.799 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.3536, allocations: 39.06 kB / 0.799 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.3551, allocations: 0.5697 MB / 0.7996 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3555, allocations: 0.7516 MB / 0.8003 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.797e-05/0.3556, allocations: 13.44 kB / 0.8003 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.3557, allocations: 15.42 kB / 0.8003 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/0.3557, allocations: 4 kB / 0.8003 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.008719/0.3644, allocations: 3.953 MB / 0.8042 GB, free: 10.34 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: