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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.404/2.404, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001396/0.001395, allocations: 185.7 kB / 326.3 MB, free: 2.867 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.712/2.712, allocations: 205.4 MB / 0.5772 GB, free: 21.17 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.0009182/0.0009181, allocations: 91.91 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006998/0.0007002, allocations: 12.62 kB / 0.7958 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2053, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002002/0.2074, allocations: 1.38 MB / 0.9009 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2086, allocations: 463 kB / 0.9013 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.2087, allocations: 4 kB / 0.9013 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.339e-05/0.2088, allocations: 3.938 kB / 0.9013 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2089, allocations: 27.84 kB / 0.9014 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.2098, allocations: 210.9 kB / 0.9016 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.2102, allocations: 303.5 kB / 0.9018 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.2104, allocations: 33.42 kB / 0.9019 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.2108, allocations: 235.4 kB / 0.9021 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.2111, allocations: 139.7 kB / 0.9022 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-05/0.2112, allocations: 8 kB / 0.9022 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.2113, allocations: 12 kB / 0.9023 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2114, allocations: 83.77 kB / 0.9023 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.2115, allocations: 73.58 kB / 0.9024 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.2119, allocations: 315.3 kB / 0.9027 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.2119, allocations: 0 / 0.9027 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2119, allocations: 3.938 kB / 0.9027 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2119, allocations: 3.938 kB / 0.9027 GB, free: 62.73 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.001472/0.2134, allocations: 0.6454 MB / 0.9033 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2135, allocations: 8.031 kB / 0.9034 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.2136, allocations: 36.56 kB / 0.9034 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.214, allocations: 264.5 kB / 0.9036 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.2141, allocations: 20.5 kB / 0.9037 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/0.2142, allocations: 24.31 kB / 0.9037 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.2147, allocations: 173.9 kB / 0.9038 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2147, allocations: 7.938 kB / 0.9039 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.2148, allocations: 0 / 0.9039 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2148, allocations: 4 kB / 0.9039 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.215, allocations: 62.03 kB / 0.9039 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.2167, allocations: 0.5589 MB / 0.9045 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.2172, allocations: 130.7 kB / 0.9046 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.2174, allocations: 60.83 kB / 0.9046 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.2175, allocations: 4 kB / 0.9047 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006203/0.2181, allocations: 232 kB / 0.9049 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.446e-06/0.2181, allocations: 0 / 0.9049 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009076/0.219, allocations: 282.8 kB / 0.9051 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.2191, allocations: 63.41 kB / 0.9052 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.2195, allocations: 324.3 kB / 0.9055 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.029e-05/0.2196, allocations: 41.69 kB / 0.9056 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.2197, allocations: 101 kB / 0.9056 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.2198, allocations: 39.55 kB / 0.9057 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.2198, allocations: 4 kB / 0.9057 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.2199, allocations: 330.8 kB / 0.906 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.2203, allocations: 108.2 kB / 0.9061 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.2207, allocations: 158.4 kB / 0.9063 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.2211, allocations: 161.4 kB / 0.9064 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2211, allocations: 0 / 0.9064 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0011/0.2222, allocations: 444.5 kB / 0.9068 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.625e-05/0.2223, allocations: 79.39 kB / 0.9069 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.2224, allocations: 4 kB / 0.9069 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.2224, allocations: 4 kB / 0.9069 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.2227, allocations: 27.91 kB / 0.9069 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2227, allocations: 0 / 0.9069 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009515/0.2237, allocations: 83.92 kB / 0.907 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.2238, allocations: 51.98 kB / 0.9071 GB, free: 57.96 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.0003314/0.2241, allocations: 193.7 kB / 0.9073 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.2242, allocations: 27.62 kB / 0.9073 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.907e-05/0.2243, allocations: 38.36 kB / 0.9073 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2243, allocations: 0 / 0.9073 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2243, allocations: 0 / 0.9073 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.2246, allocations: 184.6 kB / 0.9075 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.093e-05/0.2247, allocations: 12 kB / 0.9075 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.225, allocations: 11.98 kB / 0.9075 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.2251, allocations: 31.75 kB / 0.9076 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007206/0.2259, allocations: 294.9 kB / 0.9078 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006128/0.2265, allocations: 400.1 kB / 0.9082 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002025/0.2267, allocations: 67.95 kB / 0.9083 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002757/0.227, allocations: 227 kB / 0.9085 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of Backend: time 9.42e-07/0.227, allocations: 0 / 0.9085 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.2281, allocations: 401.8 kB / 0.9089 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001169/0.2293, allocations: 0.9286 MB / 0.9098 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.01125/0.2406, allocations: 4.538 MB / 0.9142 GB, free: 50.56 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)