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.35/1.35, 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.0009749/0.000975, allocations: 188 kB / 327.6 MB, free: 2.109 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.637/1.637, allocations: 205.4 MB / 0.5786 GB, free: 20.19 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.0007361/0.0007361, allocations: 86.42 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 15.48 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, 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.CalendarTimeMonthsPlus): time 0.002524/0.2189, allocations: 1.395 MB / 0.9028 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2202, allocations: 499.3 kB / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.2204, allocations: 0 / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2206, allocations: 11.86 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.2208, allocations: 24.22 kB / 0.9034 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.2219, allocations: 258.4 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.2223, allocations: 355.8 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2224, allocations: 29.28 kB / 0.904 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.2227, allocations: 222.3 kB / 0.9042 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.2229, allocations: 115.6 kB / 0.9043 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.223, allocations: 12 kB / 0.9043 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.346e-05/0.2231, allocations: 8 kB / 0.9043 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2232, allocations: 87.7 kB / 0.9044 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.2234, allocations: 164.9 kB / 0.9046 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.2236, allocations: 315.6 kB / 0.9049 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2237, allocations: 0 / 0.9049 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2237, allocations: 3.938 kB / 0.9049 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2237, 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.001119/0.2248, allocations: 0.6375 MB / 0.9055 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.2249, allocations: 8.031 kB / 0.9055 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.225, allocations: 35.62 kB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.2253, allocations: 278.9 kB / 0.9058 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.2253, allocations: 19.92 kB / 0.9058 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.2254, allocations: 23.98 kB / 0.9058 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.2257, allocations: 165.5 kB / 0.906 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2257, allocations: 3.984 kB / 0.906 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.2258, allocations: 8 kB / 0.906 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2258, allocations: 3.938 kB / 0.906 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.226, allocations: 65.17 kB / 0.9061 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.227, allocations: 0.5627 MB / 0.9066 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.2273, allocations: 138.7 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.2275, allocations: 65.02 kB / 0.9068 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.2275, allocations: 4 kB / 0.9068 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.228, allocations: 238.8 kB / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.228, allocations: 0 / 0.907 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005501/0.2285, allocations: 285 kB / 0.9073 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.2286, allocations: 63.41 kB / 0.9074 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.2289, allocations: 316.4 kB / 0.9077 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.2289, allocations: 37.7 kB / 0.9077 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.229, allocations: 105 kB / 0.9078 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.229, allocations: 43.48 kB / 0.9079 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.2291, allocations: 8 kB / 0.9079 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.2292, allocations: 322.8 kB / 0.9082 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.2294, allocations: 108.2 kB / 0.9083 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.2296, allocations: 162.4 kB / 0.9084 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.2299, allocations: 260.8 kB / 0.9087 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2299, allocations: 0 / 0.9087 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006299/0.2306, allocations: 440.6 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.77e-05/0.2307, allocations: 83.33 kB / 0.9092 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2307, allocations: 0 / 0.9092 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.2307, allocations: 4 kB / 0.9092 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2309, allocations: 27.91 kB / 0.9092 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2309, allocations: 4 kB / 0.9092 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.2314, allocations: 68.05 kB / 0.9093 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/0.2315, 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.0001878/0.2317, allocations: 181.7 kB / 0.9095 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.2317, allocations: 43.48 kB / 0.9095 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.2318, allocations: 34.36 kB / 0.9096 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2318, allocations: 7.938 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2318, allocations: 0 / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2318, allocations: 0 / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006546/0.2325, allocations: 0.5985 MB / 0.9102 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2325, allocations: 0 / 0.9102 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.2326, allocations: 7.984 kB / 0.9102 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.2326, allocations: 0 / 0.9102 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.2326, allocations: 15.98 kB / 0.9102 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2326, allocations: 4 kB / 0.9102 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2326, allocations: 0 / 0.9102 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.233, allocations: 338.8 kB / 0.9105 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.2332, allocations: 176.7 kB / 0.9107 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.2332, allocations: 15.98 kB / 0.9107 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2334, allocations: 8 kB / 0.9107 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.2335, allocations: 19.97 kB / 0.9107 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.2336, allocations: 35.98 kB / 0.9108 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001735/0.2338, allocations: 231 kB / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2338, allocations: 0 / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003501/0.2341, 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.000191/0.2343, allocations: 125 kB / 0.9112 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.2348, allocations: 362.8 kB / 0.9115 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2349, allocations: 4.125 kB / 0.9115 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.235, allocations: 86.23 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.0003802/0.2354, allocations: 31.67 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.0006998/0.2361, allocations: 0.5455 MB / 0.9122 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.2363, 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.0001284/0.2364, allocations: 47.41 kB / 0.9129 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2365, allocations: 0 / 0.9129 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.004826/0.2413, allocations: 3.321 MB / 0.9162 GB, free: 47.95 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)