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.367/1.367, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009917/0.0009917, allocations: 188 kB / 326.5 MB, free: 2.672 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.694/1.694, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0008799/0.00088, allocations: 85.23 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004243, allocations: 12.78 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2507, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002065/0.2528, allocations: 1.415 MB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2539, allocations: 0.4923 MB / 0.8986 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.2541, allocations: 0 / 0.8986 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.2542, allocations: 7.922 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.2544, allocations: 32.22 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000807/0.2552, allocations: 254 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.2556, allocations: 355.8 kB / 0.8993 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2558, allocations: 41.27 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.2561, allocations: 218.3 kB / 0.8995 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.2564, allocations: 123.5 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.2566, allocations: 8 kB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.2566, allocations: 12 kB / 0.8996 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.2568, allocations: 79.7 kB / 0.8997 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.257, allocations: 131.3 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.2573, allocations: 406.6 kB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2573, allocations: 0 / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2574, allocations: 0 / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.2574, allocations: 0 / 0.9002 GB, free: 64.59 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.001114/0.2585, allocations: 0.6258 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.2585, allocations: 8.031 kB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.2587, allocations: 43.56 kB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.259, allocations: 282.9 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.2591, allocations: 11.98 kB / 0.9012 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/0.2592, allocations: 20 kB / 0.9012 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.2595, allocations: 178.6 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2595, allocations: 0 / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.2595, allocations: 4 kB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2596, allocations: 0 / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.2597, allocations: 59.97 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2608, allocations: 0.5705 MB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.261, allocations: 138.6 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.2612, allocations: 60.84 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.2612, allocations: 4 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.2616, allocations: 228.1 kB / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/0.2616, allocations: 0 / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005299/0.2621, allocations: 291.5 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.2622, allocations: 63.39 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.2624, allocations: 316.4 kB / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.2625, allocations: 45.69 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.2626, allocations: 93.05 kB / 0.9032 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.2626, allocations: 35.61 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.2627, allocations: 49.69 kB / 0.9032 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.2627, allocations: 322.8 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.263, allocations: 108.2 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.2632, allocations: 154.4 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.2634, allocations: 268.6 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2635, allocations: 0 / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00058/0.264, allocations: 448.6 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.2641, allocations: 75.39 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2641, allocations: 7.984 kB / 0.9046 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2641, allocations: 4 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2643, allocations: 23.92 kB / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.2643, allocations: 4 kB / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.2648, allocations: 75.83 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.2649, allocations: 59.91 kB / 0.9047 GB, free: 59.64 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year,$whenCondition1,$whenCondition2) * 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.0001541/0.265, allocations: 181.8 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.2651, allocations: 27.62 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.2651, allocations: 34.36 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2652, allocations: 7.984 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2652, allocations: 3.984 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.2653, allocations: 180.7 kB / 0.9051 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.2654, allocations: 19.94 kB / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.2656, allocations: 11.92 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.2656, allocations: 23.97 kB / 0.9052 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003788/0.266, allocations: 292.8 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003474/0.2664, allocations: 396.5 kB / 0.9059 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001109/0.2665, allocations: 71.89 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001515/0.2667, allocations: 231 kB / 0.9061 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of Backend: time 3.91e-07/0.2667, allocations: 0 / 0.9061 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006764/0.2673, allocations: 398.8 kB / 0.9065 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008141/0.2682, allocations: 0.9545 MB / 0.9075 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.007513/0.2757, allocations: 4.627 MB / 0.912 GB, free: 52.16 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)