Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.639/2.639, allocations: 284.8 MB / 297.3 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 184.1 kB / 365.7 MB, free: 2.562 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.1 MB / 0.6241 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 102.6 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.547e-05, allocations: 8 kB / 0.8575 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9138/0.9138, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.264/1.178, allocations: 139.8 MB / 1.107 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/1.178, allocations: 71.95 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02586/1.204, allocations: 5.198 MB / 1.112 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.883e-06/1.204, allocations: 3.938 kB / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.003e-05/1.204, allocations: 4 kB / 1.112 GB, free: 7.395 MB / 0.7136 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.001315/1.205, allocations: 0.5998 MB / 1.112 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.206, allocations: 12.03 kB / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/1.206, allocations: 39 kB / 1.112 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/1.206, allocations: 272 kB / 1.113 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/1.206, allocations: 15.98 kB / 1.113 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.206, allocations: 20 kB / 1.113 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/1.207, allocations: 165.5 kB / 1.113 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.207, allocations: 4 kB / 1.113 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/1.207, allocations: 7.953 kB / 1.113 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.207, allocations: 0 / 1.113 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/1.207, allocations: 59.98 kB / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/1.209, allocations: 0.5941 MB / 1.113 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/1.21, allocations: 134.7 kB / 1.114 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/1.21, allocations: 60.84 kB / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/1.21, allocations: 0 / 1.114 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006283/1.21, allocations: 221.7 kB / 1.114 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.826e-06/1.21, allocations: 0 / 1.114 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0008408/1.211, allocations: 237.7 kB / 1.114 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/1.211, allocations: 62.5 kB / 1.114 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/1.212, allocations: 274.7 kB / 1.114 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/1.212, allocations: 45.7 kB / 1.114 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.212, allocations: 105 kB / 1.115 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/1.212, allocations: 47.44 kB / 1.115 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/1.212, allocations: 8 kB / 1.115 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.213, allocations: 326.8 kB / 1.115 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/1.213, allocations: 120.2 kB / 1.115 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/1.213, allocations: 170.4 kB / 1.115 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/1.214, allocations: 163.4 kB / 1.115 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.214, allocations: 0 / 1.115 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001272/1.215, allocations: 447.1 kB / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00019/1.215, allocations: 75.39 kB / 1.116 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.215, allocations: 6.109 kB / 1.116 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/1.215, allocations: 0 / 1.116 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/1.216, allocations: 31.91 kB / 1.116 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/1.216, allocations: 0 / 1.116 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.217, allocations: 56 kB / 1.116 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/1.217, allocations: 51.98 kB / 1.116 GB, free: 2.742 MB / 0.7136 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 () * 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.0003636/1.218, allocations: 140 kB / 1.116 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/1.218, allocations: 23.72 kB / 1.116 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/1.218, allocations: 30.14 kB / 1.116 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/1.218, allocations: 3.984 kB / 1.116 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.218, allocations: 0 / 1.116 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.218, allocations: 4 kB / 1.116 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/1.221, allocations: 0.5966 MB / 1.117 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.221, allocations: 0 / 1.117 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/1.221, allocations: 12 kB / 1.117 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/1.221, allocations: 0 / 1.117 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/1.221, allocations: 12.73 kB / 1.117 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/1.221, allocations: 3.984 kB / 1.117 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.221, allocations: 0 / 1.117 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/1.222, allocations: 336.8 kB / 1.117 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006809/1.223, allocations: 187.8 kB / 1.117 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/1.223, allocations: 11.98 kB / 1.117 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006315/1.224, allocations: 15.56 kB / 1.117 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.224, allocations: 15.97 kB / 1.117 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.224, allocations: 31.98 kB / 1.117 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006476/1.225, allocations: 230.1 kB / 1.118 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.964e-06/1.225, allocations: 0 / 1.118 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009681/1.226, allocations: 64 kB / 1.118 GB, free: 0.957 MB / 0.7136 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000309/1.226, allocations: 125.9 kB / 1.118 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.228, allocations: 372.8 kB / 1.118 GB, free: 448 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.228, allocations: 0 / 1.118 GB, free: 448 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/1.228, allocations: 75.91 kB / 1.118 GB, free: 372 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/1.229, allocations: 29.14 kB / 1.118 GB, free: 344 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/1.23, allocations: 309.3 kB / 1.119 GB, free: 16 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/1.231, allocations: 0.7634 MB / 1.119 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002661/1.231, allocations: 37.19 kB / 1.119 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/1.231, allocations: 39.42 kB / 1.119 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of SimCode: time 1.082e-06/1.231, allocations: 0 / 1.119 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.01512/1.246, allocations: 4.74 MB / 1.124 GB, free: 10.48 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)