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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 252 MB / 268 MB, free: 10.86 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.001019/0.001019, allocations: 179.5 kB / 327.6 MB, free: 2.078 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.473/1.473, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0007308/0.0007309, allocations: 83.64 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.00039, allocations: 11 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2018, allocations: 106.3 MB / 0.9015 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001692/0.2036, allocations: 1.391 MB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.2045, allocations: 0.4975 MB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.2046, allocations: 0 / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.001e-05/0.2047, allocations: 11.86 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2048, allocations: 20.23 kB / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.2055, allocations: 263.9 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.2057, allocations: 347.8 kB / 0.9039 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.2058, allocations: 37.33 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.2061, allocations: 222.3 kB / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.2063, allocations: 119.6 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.914e-05/0.2064, allocations: 15.98 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.286e-05/0.2065, allocations: 8 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2066, allocations: 79.72 kB / 0.9044 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.2067, allocations: 164.9 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.207, allocations: 307.6 kB / 0.9049 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.207, allocations: 0 / 0.9049 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.207, allocations: 0 / 0.9049 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.207, allocations: 0 / 0.9049 GB, free: 59.84 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.0009791/0.208, allocations: 0.6453 MB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.208, allocations: 16.03 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.389e-05/0.2081, allocations: 35.62 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.2084, allocations: 274.9 kB / 0.9058 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.2084, allocations: 16 kB / 0.9058 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.2085, allocations: 19.98 kB / 0.9058 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.2088, allocations: 169.5 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2088, allocations: 0 / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.2089, allocations: 3.984 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.2089, allocations: 7.938 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.209, allocations: 59.97 kB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.2101, allocations: 0.5665 MB / 0.9066 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.2103, allocations: 142.7 kB / 0.9067 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2105, allocations: 64.77 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.2105, allocations: 4 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004121/0.2109, allocations: 224.2 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.2109, allocations: 0 / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005115/0.2114, allocations: 291.5 kB / 0.9073 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.2115, allocations: 59.41 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.2117, allocations: 316.4 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.2118, allocations: 37.7 kB / 0.9077 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.2118, allocations: 101 kB / 0.9078 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.2119, allocations: 51.47 kB / 0.9078 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.2119, allocations: 8 kB / 0.9079 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.212, allocations: 326.8 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.2122, allocations: 104.2 kB / 0.9083 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.2124, allocations: 158.4 kB / 0.9084 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.2127, allocations: 268.4 kB / 0.9087 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2127, allocations: 0 / 0.9087 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006347/0.2134, allocations: 436.6 kB / 0.9091 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.2134, allocations: 83.31 kB / 0.9092 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2134, allocations: 4 kB / 0.9092 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2135, allocations: 4 kB / 0.9092 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.2136, allocations: 31.91 kB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2136, allocations: 4 kB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.2142, allocations: 68.05 kB / 0.9093 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.2142, allocations: 51.98 kB / 0.9093 GB, free: 54.93 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.0001582/0.2144, allocations: 185.7 kB / 0.9095 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.2145, allocations: 35.55 kB / 0.9095 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.2145, allocations: 38.36 kB / 0.9096 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2145, allocations: 3.938 kB / 0.9096 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2145, allocations: 0 / 0.9096 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2145, allocations: 4 kB / 0.9096 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.2152, allocations: 0.5919 MB / 0.9102 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2152, allocations: 0 / 0.9102 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.2152, allocations: 11.98 kB / 0.9102 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2152, allocations: 0 / 0.9102 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.2153, allocations: 15.98 kB / 0.9102 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2153, allocations: 4 kB / 0.9102 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2153, allocations: 3.938 kB / 0.9102 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.2157, allocations: 333.2 kB / 0.9105 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.2158, allocations: 180.7 kB / 0.9107 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.2159, allocations: 12 kB / 0.9107 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.2161, allocations: 11.98 kB / 0.9107 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.2162, allocations: 15.97 kB / 0.9107 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.2162, allocations: 35.98 kB / 0.9108 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001605/0.2164, allocations: 223 kB / 0.911 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2164, allocations: 0 / 0.911 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003032/0.2167, allocations: 63.89 kB / 0.911 GB, free: 53.08 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.0001598/0.2169, allocations: 124.9 kB / 0.9111 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004908/0.2174, allocations: 362.9 kB / 0.9115 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2174, allocations: 4.062 kB / 0.9115 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.2175, allocations: 84.5 kB / 0.9116 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.2179, allocations: 34.66 kB / 0.9116 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.2186, allocations: 0.5516 MB / 0.9121 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.2188, allocations: 0.7555 MB / 0.9129 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.2189, allocations: 39.41 kB / 0.9129 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.2189, allocations: 0 / 0.9129 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.004759/0.2237, allocations: 3.33 MB / 0.9162 GB, free: 47.74 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)