Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009552/0.0009553, allocations: 172.5 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007573/0.0007572, allocations: 82.41 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 11.59 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2123, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001855/0.2142, allocations: 1.399 MB / 0.9028 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009313/0.2152, allocations: 0.4894 MB / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.2152, allocations: 7.938 kB / 0.9033 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.923e-05/0.2153, allocations: 7.922 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2155, allocations: 24.23 kB / 0.9034 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.2161, allocations: 256.9 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.2163, allocations: 351.8 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2165, allocations: 33.33 kB / 0.904 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.2167, allocations: 222.3 kB / 0.9042 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.2169, allocations: 115.6 kB / 0.9043 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/0.217, allocations: 8 kB / 0.9043 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.327e-05/0.2171, allocations: 15.94 kB / 0.9043 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2172, allocations: 79.7 kB / 0.9044 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.2173, allocations: 164.9 kB / 0.9046 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.2175, allocations: 315.6 kB / 0.9049 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2175, allocations: 0 / 0.9049 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2176, allocations: 3.938 kB / 0.9049 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2176, allocations: 0 / 0.9049 GB, free: 60.03 MB / 0.6042 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.0009646/0.2185, allocations: 0.6375 MB / 0.9055 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2186, allocations: 8.031 kB / 0.9055 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.006e-05/0.2187, allocations: 39.62 kB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.2189, allocations: 278.9 kB / 0.9058 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.219, allocations: 15.98 kB / 0.9058 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.219, allocations: 20 kB / 0.9058 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.2193, allocations: 169.5 kB / 0.906 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.2194, allocations: 0 / 0.906 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.2194, allocations: 7.938 kB / 0.906 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2194, allocations: 4 kB / 0.906 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2195, allocations: 63.97 kB / 0.9061 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009845/0.2205, allocations: 0.5665 MB / 0.9066 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.2208, allocations: 142.7 kB / 0.9068 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2209, allocations: 68.95 kB / 0.9068 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.221, allocations: 4 kB / 0.9068 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.2214, allocations: 230.7 kB / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.2214, allocations: 0 / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005166/0.2219, allocations: 289 kB / 0.9073 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.222, allocations: 59.41 kB / 0.9074 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.2222, allocations: 316.4 kB / 0.9077 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.2223, allocations: 37.7 kB / 0.9077 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.2223, allocations: 101 kB / 0.9078 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.2224, allocations: 51.47 kB / 0.9079 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2224, allocations: 8 kB / 0.9079 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.2225, allocations: 322.8 kB / 0.9082 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.2227, allocations: 108.2 kB / 0.9083 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.2229, allocations: 158.4 kB / 0.9084 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.2232, allocations: 258.9 kB / 0.9087 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2232, allocations: 0 / 0.9087 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006094/0.2238, allocations: 447.4 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.2239, allocations: 79.33 kB / 0.9092 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2239, allocations: 0 / 0.9092 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2239, allocations: 4 kB / 0.9092 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2241, allocations: 27.91 kB / 0.9092 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2241, allocations: 4 kB / 0.9092 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.2246, allocations: 68.05 kB / 0.9093 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.2247, allocations: 55.98 kB / 0.9093 GB, free: 55.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001735/0.2249, allocations: 185.7 kB / 0.9095 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.2249, allocations: 35.5 kB / 0.9095 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.225, allocations: 34.3 kB / 0.9096 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.225, allocations: 8 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.225, allocations: 0 / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.225, allocations: 0 / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.2256, allocations: 0.5985 MB / 0.9102 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2256, allocations: 0 / 0.9102 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.2257, allocations: 11.98 kB / 0.9102 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2257, allocations: 7.984 kB / 0.9102 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.2257, allocations: 7.984 kB / 0.9102 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2257, allocations: 0 / 0.9102 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2257, allocations: 8 kB / 0.9102 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.2261, allocations: 334.8 kB / 0.9105 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.2262, allocations: 176.7 kB / 0.9107 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.2263, allocations: 19.98 kB / 0.9107 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.2265, allocations: 7.984 kB / 0.9107 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.2266, allocations: 19.98 kB / 0.9107 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.2266, allocations: 27.98 kB / 0.9108 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001622/0.2268, allocations: 235 kB / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2268, allocations: 0 / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002859/0.2271, allocations: 55.89 kB / 0.911 GB, free: 53.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001567/0.2273, allocations: 124.9 kB / 0.9112 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004828/0.2278, allocations: 358.6 kB / 0.9115 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2278, allocations: 384 / 0.9115 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.2279, allocations: 94.22 kB / 0.9116 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.2283, allocations: 30.66 kB / 0.9116 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.229, allocations: 0.548 MB / 0.9122 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.2292, allocations: 0.7555 MB / 0.9129 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.2293, allocations: 43.41 kB / 0.9129 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2293, allocations: 0 / 0.9129 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.004438/0.2338, allocations: 3.325 MB / 0.9162 GB, free: 47.94 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)