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.001283/0.001283, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001302/0.001302, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.585/1.585, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.935/1.935, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.00141/0.00141, allocations: 68.33 kB / 0.671 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3295, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003362/0.3329, allocations: 1.738 MB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3342, allocations: 479.3 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.3343, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.3345, allocations: 7.922 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.3346, allocations: 28.22 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.3355, allocations: 260.8 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.336, allocations: 423.8 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3361, allocations: 29.11 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.3365, allocations: 266.2 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.3368, allocations: 139.5 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.3368, allocations: 32 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.048e-05/0.3369, allocations: 31.94 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.337, allocations: 99.64 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.3372, allocations: 163.3 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.3377, allocations: 434.9 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3377, allocations: 0 / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3378, allocations: 4 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3378, allocations: 0 / 0.7869 GB, free: 9.805 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.001263/0.339, allocations: 0.777 MB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3391, allocations: 8.031 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.3392, allocations: 31.72 kB / 0.7877 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.3396, allocations: 290.8 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.3397, allocations: 19.94 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.3398, allocations: 20 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3409, allocations: 227.6 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3409, allocations: 0 / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.3409, allocations: 11.98 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.341, allocations: 0 / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.3417, allocations: 111.9 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3431, allocations: 0.5628 MB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.3441, allocations: 178.5 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007567/0.3449, allocations: 116 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.3449, allocations: 4 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/0.346, allocations: 227 kB / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.575e-06/0.3461, allocations: 3.938 kB / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002483/0.3485, allocations: 460 kB / 0.7898 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.3486, allocations: 59.41 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.3489, allocations: 324.4 kB / 0.7902 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.349, allocations: 37.7 kB / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/0.3491, allocations: 101 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.3492, allocations: 35.61 kB / 0.7903 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.3493, allocations: 101.5 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3495, allocations: 326.8 kB / 0.7908 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.3497, allocations: 95.94 kB / 0.7908 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.35, allocations: 153.9 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.3503, allocations: 248.1 kB / 0.7912 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3503, allocations: 4 kB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007487/0.3511, allocations: 428.6 kB / 0.7916 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.363e-05/0.3512, allocations: 75.39 kB / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3512, allocations: 0 / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3512, allocations: 7.984 kB / 0.7917 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.3514, allocations: 28.17 kB / 0.7917 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.3514, allocations: 3.938 kB / 0.7917 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.3519, allocations: 59.73 kB / 0.7918 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.3519, allocations: 43.98 kB / 0.7918 GB, free: 4.363 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.0002038/0.3522, allocations: 183.7 kB / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.3522, allocations: 35.69 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.846e-05/0.3523, allocations: 30.36 kB / 0.7921 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3523, allocations: 3.938 kB / 0.7921 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3523, allocations: 0 / 0.7921 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3523, allocations: 3.938 kB / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.3545, allocations: 0.7324 MB / 0.7928 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3545, allocations: 0 / 0.7928 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.3546, allocations: 7.938 kB / 0.7928 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3546, allocations: 0 / 0.7928 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.3546, allocations: 23.91 kB / 0.7928 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3546, allocations: 0 / 0.7928 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3546, allocations: 4 kB / 0.7928 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.3563, allocations: 450.9 kB / 0.7933 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.3566, allocations: 192.6 kB / 0.7935 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.313e-05/0.3566, allocations: 15.94 kB / 0.7935 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.3571, allocations: 35.97 kB / 0.7935 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3572, allocations: 7.984 kB / 0.7935 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.3572, allocations: 47.97 kB / 0.7936 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002674/0.3575, allocations: 227 kB / 0.7938 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3575, allocations: 0 / 0.7938 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003715/0.3579, allocations: 55.91 kB / 0.7938 GB, free: 2.234 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.0002291/0.3581, allocations: 131.6 kB / 0.794 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.3594, allocations: 406 kB / 0.7943 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.3594, allocations: 4 kB / 0.7943 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007256/0.3601, allocations: 120.3 kB / 0.7945 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.3605, allocations: 40.16 kB / 0.7945 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.362, allocations: 0.5432 MB / 0.795 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.3625, allocations: 0.7513 MB / 0.7958 GB, free: 180 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.312e-05/0.3626, allocations: 13.42 kB / 0.7958 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.3626, allocations: 23.42 kB / 0.7958 GB, free: 140 kB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.3626, allocations: 0 / 0.7958 GB, free: 140 kB / 0.6075 GB Notification: Performance of Templates: time 0.008152/0.3708, allocations: 4.113 MB / 0.7998 GB, free: 12.06 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (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)