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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.165/2.165, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001355/0.001355, allocations: 179.1 kB / 326.3 MB, free: 2.844 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.644/2.644, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009796/0.0009793, allocations: 95.72 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004918, allocations: 12.25 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2028, allocations: 106.3 MB / 0.8995 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001992/0.2049, allocations: 1.368 MB / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.206, allocations: 460.7 kB / 0.9013 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.2061, allocations: 7.938 kB / 0.9013 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.774e-05/0.2062, allocations: 7.922 kB / 0.9013 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.2063, allocations: 15.92 kB / 0.9013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.2071, allocations: 215 kB / 0.9015 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.2075, allocations: 307.5 kB / 0.9018 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2076, allocations: 37.36 kB / 0.9019 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.208, allocations: 231.5 kB / 0.9021 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.2083, allocations: 139.7 kB / 0.9022 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.1e-05/0.2084, allocations: 12 kB / 0.9022 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.2085, allocations: 8 kB / 0.9022 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2086, allocations: 91.7 kB / 0.9023 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.2087, allocations: 77.52 kB / 0.9024 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.209, allocations: 311.6 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.209, allocations: 0 / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.209, allocations: 3.938 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2091, allocations: 0 / 0.9027 GB, free: 62.17 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.00132/0.2104, allocations: 0.6493 MB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2104, allocations: 8.031 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.2106, allocations: 36.56 kB / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.2109, allocations: 268.4 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.211, allocations: 20.5 kB / 0.9037 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.2111, allocations: 24.31 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.2116, allocations: 168.1 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2116, allocations: 3.938 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.2117, allocations: 4 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2117, allocations: 4 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.2119, allocations: 59.97 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.2135, allocations: 0.5588 MB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.2139, allocations: 142.7 kB / 0.9046 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.2141, allocations: 60.81 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.2142, allocations: 4 kB / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006113/0.2148, allocations: 228.1 kB / 0.9049 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.886e-06/0.2148, allocations: 0 / 0.9049 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009001/0.2157, allocations: 286.8 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2158, allocations: 59.41 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.2162, allocations: 316.4 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/0.2163, allocations: 41.7 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.2164, allocations: 101 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.2164, allocations: 43.53 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.2165, allocations: 8 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.2166, allocations: 326.8 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.2169, allocations: 108.2 kB / 0.9061 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.2173, allocations: 158.4 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.2177, allocations: 165.4 kB / 0.9064 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2177, allocations: 0 / 0.9064 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001052/0.2188, allocations: 440.7 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-05/0.2189, allocations: 79.39 kB / 0.9069 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.2189, allocations: 4 kB / 0.9069 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2189, allocations: 4 kB / 0.9069 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.2192, allocations: 27.91 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2192, allocations: 0 / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009479/0.2202, allocations: 83.77 kB / 0.907 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.2203, allocations: 51.98 kB / 0.9071 GB, free: 57.39 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.0002704/0.2206, allocations: 189.7 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.2206, allocations: 27.62 kB / 0.9073 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.2207, allocations: 34.36 kB / 0.9073 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2207, allocations: 4 kB / 0.9073 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2207, allocations: 0 / 0.9073 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.221, allocations: 188.6 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/0.2211, allocations: 8 kB / 0.9075 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.2214, allocations: 15.98 kB / 0.9075 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.2215, allocations: 27.81 kB / 0.9076 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006783/0.2222, allocations: 298.8 kB / 0.9078 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005946/0.2228, allocations: 394.3 kB / 0.9082 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001972/0.223, allocations: 69.83 kB / 0.9083 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002661/0.2233, allocations: 227 kB / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of Backend: time 6.61e-07/0.2233, allocations: 0 / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.2244, allocations: 401 kB / 0.9089 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001283/0.2257, allocations: 0.9324 MB / 0.9098 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.01741/0.2431, allocations: 4.535 MB / 0.9142 GB, free: 49.98 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)