Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.293/2.293, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001294/0.001294, allocations: 178.7 kB / 326.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.422/2.422, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009525/0.0009518, allocations: 89.44 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.000519, allocations: 15.53 kB / 0.7958 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2114, allocations: 106.3 MB / 0.8995 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002013/0.2135, allocations: 1.375 MB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2147, allocations: 463.1 kB / 0.9013 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.2148, allocations: 0 / 0.9013 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.587e-05/0.215, allocations: 11.86 kB / 0.9013 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2151, allocations: 23.91 kB / 0.9014 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008484/0.216, allocations: 211.3 kB / 0.9016 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.2163, allocations: 307.5 kB / 0.9018 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.2165, allocations: 37.36 kB / 0.9019 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.2169, allocations: 227.5 kB / 0.9021 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.2172, allocations: 139.7 kB / 0.9022 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.2173, allocations: 12 kB / 0.9022 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.2174, allocations: 8 kB / 0.9023 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2175, allocations: 75.78 kB / 0.9023 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.765e-05/0.2176, allocations: 81.52 kB / 0.9024 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.218, allocations: 315.5 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.218, allocations: 3.938 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.218, allocations: 0 / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.218, allocations: 8 kB / 0.9027 GB, free: 62.18 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.001383/0.2194, allocations: 0.6376 MB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2195, allocations: 8.031 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.2196, allocations: 36.56 kB / 0.9034 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.22, allocations: 272.4 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.2201, allocations: 20.45 kB / 0.9037 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.2202, allocations: 32.36 kB / 0.9037 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.2207, allocations: 166.1 kB / 0.9039 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2207, allocations: 7.875 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.2207, allocations: 7.984 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.2208, allocations: 0 / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.221, allocations: 59.97 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.2227, allocations: 0.5627 MB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.2232, allocations: 134.7 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.2234, allocations: 60.83 kB / 0.9047 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.2234, allocations: 11.94 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006391/0.2241, allocations: 228.1 kB / 0.9049 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 4.188e-06/0.2241, allocations: 0 / 0.9049 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008848/0.225, allocations: 286.8 kB / 0.9052 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.225, allocations: 59.41 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.2254, allocations: 316.4 kB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.693e-05/0.2255, allocations: 37.7 kB / 0.9056 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.2256, allocations: 101 kB / 0.9057 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.2257, allocations: 43.53 kB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.2258, allocations: 8 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.2258, allocations: 326.8 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.2262, allocations: 108.2 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.2266, allocations: 158.4 kB / 0.9063 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.227, allocations: 159.3 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.227, allocations: 8 kB / 0.9064 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001052/0.228, allocations: 440.6 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-05/0.2281, allocations: 77.42 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.2282, allocations: 0 / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.2282, allocations: 4 kB / 0.9069 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.2285, allocations: 27.91 kB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.2285, allocations: 4 kB / 0.907 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.2294, allocations: 71.98 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/0.2295, allocations: 55.98 kB / 0.9071 GB, free: 57.41 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.0002945/0.2298, allocations: 189.7 kB / 0.9073 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.2299, allocations: 31.62 kB / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.23, allocations: 30.36 kB / 0.9073 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.23, allocations: 0 / 0.9073 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.23, allocations: 0 / 0.9073 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.2303, allocations: 192.6 kB / 0.9075 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.221e-05/0.2304, allocations: 12 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.2307, allocations: 11.98 kB / 0.9075 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.2308, allocations: 27.81 kB / 0.9075 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006893/0.2315, allocations: 296.8 kB / 0.9078 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006092/0.2321, allocations: 399.8 kB / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002015/0.2323, allocations: 67.95 kB / 0.9083 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002687/0.2326, allocations: 227 kB / 0.9085 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of Backend: time 8.12e-07/0.2326, allocations: 0 / 0.9085 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.2338, allocations: 399.6 kB / 0.9089 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001216/0.235, allocations: 0.9325 MB / 0.9098 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.01111/0.2462, allocations: 4.535 MB / 0.9142 GB, free: 49.99 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)