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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.563/1.563, allocations: 252 MB / 267.6 MB, free: 10.94 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.001096/0.001096, allocations: 178.2 kB / 327.3 MB, free: 2.238 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.753/1.753, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0007887/0.0007888, allocations: 99.78 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 10.5 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.199, allocations: 106.4 MB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.00167/0.2007, allocations: 1.368 MB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.2015, allocations: 463.1 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.2016, allocations: 0 / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.767e-05/0.2017, allocations: 7.922 kB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2018, allocations: 23.84 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.2024, allocations: 218.7 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.2026, allocations: 307.5 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2027, allocations: 29.34 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.203, allocations: 235.5 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.2032, allocations: 131.7 kB / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.2032, allocations: 12 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.2033, allocations: 8 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.2034, allocations: 87.7 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.2034, allocations: 73.58 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.2037, allocations: 319.5 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2037, allocations: 4 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2037, allocations: 3.938 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2037, allocations: 0 / 0.904 GB, free: 60.64 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.001004/0.2047, allocations: 0.6375 MB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2047, allocations: 12.03 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.534e-05/0.2048, allocations: 39.58 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.2051, allocations: 271.1 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.2052, allocations: 23.97 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.2052, allocations: 20 kB / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.2055, allocations: 175.5 kB / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2055, allocations: 0 / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.2056, allocations: 0 / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.2056, allocations: 4 kB / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.2057, allocations: 59.97 kB / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009521/0.2067, allocations: 0.5627 MB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.2069, allocations: 130.7 kB / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2071, allocations: 64.83 kB / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.2071, allocations: 0 / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003944/0.2075, allocations: 240 kB / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.2075, allocations: 0 / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005006/0.208, allocations: 281.3 kB / 0.9065 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.208, allocations: 63.34 kB / 0.9065 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.2083, allocations: 316.4 kB / 0.9068 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.2083, allocations: 37.7 kB / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.2084, allocations: 105 kB / 0.907 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.2084, allocations: 39.59 kB / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.2085, allocations: 8 kB / 0.907 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.2085, allocations: 326.8 kB / 0.9073 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.2087, allocations: 104.2 kB / 0.9074 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.209, allocations: 162.3 kB / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.2092, allocations: 164.1 kB / 0.9077 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2092, allocations: 0 / 0.9077 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006224/0.2098, allocations: 438.4 kB / 0.9082 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.2099, allocations: 79.39 kB / 0.9082 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2099, allocations: 0 / 0.9082 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.2099, allocations: 7.953 kB / 0.9082 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.2101, allocations: 28.09 kB / 0.9083 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2101, allocations: 8 kB / 0.9083 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.2107, allocations: 71.73 kB / 0.9083 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/0.2108, allocations: 55.98 kB / 0.9084 GB, free: 55.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.2109, allocations: 193.7 kB / 0.9086 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.211, allocations: 27.62 kB / 0.9086 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.211, allocations: 30.36 kB / 0.9086 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2111, allocations: 4 kB / 0.9086 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2111, allocations: 7.891 kB / 0.9086 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2111, allocations: 0 / 0.9086 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.2117, allocations: 0.5957 MB / 0.9092 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2117, allocations: 4 kB / 0.9092 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.2118, allocations: 8 kB / 0.9092 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2118, allocations: 3.953 kB / 0.9092 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.2118, allocations: 19.97 kB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2118, allocations: 0 / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2118, allocations: 0 / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.2122, allocations: 321.7 kB / 0.9096 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.2123, allocations: 188.6 kB / 0.9098 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.2124, allocations: 19.95 kB / 0.9098 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.2127, allocations: 15.92 kB / 0.9098 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.2127, allocations: 19.97 kB / 0.9098 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.2128, allocations: 27.98 kB / 0.9098 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001586/0.2129, allocations: 227 kB / 0.91 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2129, allocations: 0 / 0.91 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002872/0.2132, allocations: 48 kB / 0.9101 GB, free: 54.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001603/0.2134, allocations: 133 kB / 0.9102 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.2139, allocations: 362.8 kB / 0.9106 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2139, allocations: 0 / 0.9106 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.214, allocations: 75.81 kB / 0.9106 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.2144, allocations: 40.88 kB / 0.9107 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.215, allocations: 0.5211 MB / 0.9112 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.2152, allocations: 0.7586 MB / 0.9119 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.2153, allocations: 39.41 kB / 0.912 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2153, allocations: 4 kB / 0.912 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.004313/0.2197, allocations: 3.316 MB / 0.9152 GB, free: 48.72 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)