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.001133/0.001133, 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.001214/0.001214, allocations: 188.2 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.612/1.612, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.777/1.777, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001473/0.001473, allocations: 64.53 kB / 0.671 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3213, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003651/0.325, allocations: 1.736 MB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3263, allocations: 475.3 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.74e-05/0.3264, allocations: 0 / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.3266, allocations: 15.92 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.3268, allocations: 24.22 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/0.3276, allocations: 262.7 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004835/0.3281, allocations: 415.8 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.3283, allocations: 37.03 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.3287, allocations: 270.2 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.329, allocations: 143.5 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.3291, allocations: 31.98 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.608e-05/0.3291, allocations: 32 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.3293, allocations: 95.7 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.3295, allocations: 155.3 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005689/0.3301, allocations: 434.9 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.3301, allocations: 3.984 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3301, allocations: 0 / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.3302, allocations: 0 / 0.7869 GB, free: 9.797 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.001618/0.3318, allocations: 0.7771 MB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.3319, allocations: 15.97 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.332, allocations: 31.72 kB / 0.7877 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.3325, allocations: 282.8 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/0.3326, allocations: 20 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/0.3326, allocations: 19.98 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3337, allocations: 229.3 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3337, allocations: 3.938 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.3338, allocations: 7.984 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3338, allocations: 4 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007659/0.3345, allocations: 107.9 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.3357, allocations: 0.5589 MB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3368, allocations: 190.4 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.3375, allocations: 112.7 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.3376, allocations: 3.984 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.3386, allocations: 226.1 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/0.3386, allocations: 0 / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002568/0.3412, allocations: 461 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.3413, allocations: 59.41 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.3417, allocations: 320.4 kB / 0.7902 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.3417, allocations: 37.7 kB / 0.7902 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.3418, allocations: 105 kB / 0.7903 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.3419, allocations: 35.59 kB / 0.7903 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.342, allocations: 105.5 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3422, allocations: 326.8 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.3424, allocations: 95.94 kB / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.3426, allocations: 142 kB / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.343, allocations: 259.9 kB / 0.7912 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.343, allocations: 0 / 0.7912 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006664/0.3437, allocations: 424.7 kB / 0.7916 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/0.3438, allocations: 75.39 kB / 0.7917 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3438, allocations: 11.92 kB / 0.7917 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3438, allocations: 4 kB / 0.7917 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.344, allocations: 19.92 kB / 0.7917 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.344, allocations: 7.984 kB / 0.7917 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.3445, allocations: 59.98 kB / 0.7918 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.3446, allocations: 43.98 kB / 0.7918 GB, free: 4.348 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.0002/0.3448, allocations: 176.4 kB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.3448, allocations: 31.7 kB / 0.792 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.3449, allocations: 26.36 kB / 0.7921 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3449, allocations: 4 kB / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3449, allocations: 0 / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3449, allocations: 3.938 kB / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.3471, allocations: 0.7362 MB / 0.7928 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3471, allocations: 0 / 0.7928 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.3471, allocations: 4 kB / 0.7928 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3472, allocations: 8 kB / 0.7928 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.3472, allocations: 19.91 kB / 0.7928 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3472, allocations: 0 / 0.7928 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3472, allocations: 3.984 kB / 0.7928 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.3488, allocations: 462.1 kB / 0.7933 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.3491, allocations: 192.6 kB / 0.7935 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/0.3492, allocations: 19.94 kB / 0.7935 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.3496, allocations: 35.97 kB / 0.7935 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.3497, allocations: 7.984 kB / 0.7935 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.3497, allocations: 39.97 kB / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002676/0.35, allocations: 235 kB / 0.7938 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.35, allocations: 0 / 0.7938 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003392/0.3504, allocations: 51.91 kB / 0.7938 GB, free: 2.219 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.0003047/0.3507, allocations: 127.7 kB / 0.794 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.3519, allocations: 410.8 kB / 0.7943 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3519, allocations: 0 / 0.7943 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.3526, allocations: 119.8 kB / 0.7945 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3531, allocations: 35.67 kB / 0.7945 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.3546, allocations: 0.5475 MB / 0.795 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.355, allocations: 0.7513 MB / 0.7958 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.451e-05/0.3551, allocations: 21.36 kB / 0.7958 GB, free: 140 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.3552, allocations: 19.42 kB / 0.7958 GB, free: 120 kB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.3552, allocations: 0 / 0.7958 GB, free: 120 kB / 0.6075 GB Notification: Performance of Templates: time 0.008027/0.3632, allocations: 4.119 MB / 0.7998 GB, free: 12.04 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)