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.511/2.511, allocations: 285 MB / 292.5 MB, free: 10.56 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.00147/0.00147, allocations: 188.8 kB / 360.7 MB, free: 7.25 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 2.009/2.009, allocations: 205.3 MB / 0.6192 GB, free: 12.12 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.001058/0.001058, allocations: 86.16 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.485e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9066/0.9067, allocations: 115.3 MB / 0.9635 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.302/1.209, allocations: 139.2 MB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/1.209, allocations: 73.39 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0321/1.241, allocations: 5.17 MB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.843e-06/1.241, allocations: 224 / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.376e-05/1.241, allocations: 4 kB / 1.105 GB, free: 12.11 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.001634/1.243, allocations: 0.6031 MB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/1.243, allocations: 15.97 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/1.243, allocations: 39.61 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/1.244, allocations: 264.2 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/1.244, allocations: 8 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/1.244, allocations: 23.92 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002748/1.245, allocations: 51.94 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/1.245, allocations: 158 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/1.245, allocations: 8 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/1.245, allocations: 3.984 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.245, allocations: 0 / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/1.248, allocations: 0.5556 MB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/1.248, allocations: 122.7 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/1.248, allocations: 56.84 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/1.248, allocations: 0 / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006271/1.249, allocations: 221.1 kB / 1.107 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.625e-06/1.249, allocations: 4 kB / 1.107 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007042/1.25, allocations: 223.8 kB / 1.107 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/1.25, allocations: 59.41 kB / 1.107 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/1.25, allocations: 265.1 kB / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.25, allocations: 41.7 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.251, allocations: 101.3 kB / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/1.251, allocations: 43.45 kB / 1.107 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/1.251, allocations: 4 kB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.251, allocations: 322.8 kB / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/1.251, allocations: 100.2 kB / 1.108 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/1.252, allocations: 166.1 kB / 1.108 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/1.252, allocations: 75.89 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.252, allocations: 4 kB / 1.108 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001045/1.253, allocations: 351.7 kB / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/1.253, allocations: 75.39 kB / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.253, allocations: 3.188 kB / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/1.253, allocations: 4 kB / 1.108 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/1.253, allocations: 27.91 kB / 1.108 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.253, allocations: 4 kB / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006634/1.254, allocations: 48.56 kB / 1.108 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.254, allocations: 59.03 kB / 1.108 GB, free: 7.805 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.0002432/1.255, allocations: 136.5 kB / 1.109 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/1.255, allocations: 27.67 kB / 1.109 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/1.255, allocations: 30.14 kB / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.255, allocations: 0 / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.255, allocations: 0 / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.255, allocations: 1.406 kB / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/1.256, allocations: 0.5611 MB / 1.109 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/1.256, allocations: 3.984 kB / 1.109 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/1.256, allocations: 8 kB / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/1.256, allocations: 0 / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/1.256, allocations: 15.98 kB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.256, allocations: 0 / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.256, allocations: 0 / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/1.257, allocations: 317.4 kB / 1.11 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/1.257, allocations: 192.5 kB / 1.11 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/1.257, allocations: 12 kB / 1.11 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/1.257, allocations: 11.98 kB / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/1.258, allocations: 15.92 kB / 1.11 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/1.258, allocations: 33.97 kB / 1.11 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003017/1.258, allocations: 212.6 kB / 1.11 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.258, allocations: 2.812 kB / 1.11 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005908/1.259, allocations: 56.23 kB / 1.11 GB, free: 6.105 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.0002322/1.259, allocations: 133.5 kB / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000805/1.26, allocations: 358.7 kB / 1.111 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.26, allocations: 0 / 1.111 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/1.26, allocations: 63.98 kB / 1.111 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/1.26, allocations: 28.75 kB / 1.111 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008158/1.261, allocations: 306.5 kB / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/1.262, allocations: 0.7592 MB / 1.112 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002533/1.262, allocations: 41.14 kB / 1.112 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/1.262, allocations: 43.41 kB / 1.112 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/1.262, allocations: 4 kB / 1.112 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of Templates: time 0.0131/1.275, allocations: 4.518 MB / 1.116 GB, free: 15.86 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)