Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.41/2.41, allocations: 253.2 MB / 260.6 MB, free: 7.406 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001385, allocations: 178.9 kB / 319.9 MB, free: 3.027 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.6 MB / 0.5708 GB, free: 15.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 104.8 kB / 0.6751 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.732e-05, allocations: 8 kB / 0.7849 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1992, allocations: 106.3 MB / 0.8887 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9241/1.123, allocations: 133.9 MB / 1.019 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.124, allocations: 77.73 kB / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02553/1.149, allocations: 5.177 MB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.673e-06/1.149, allocations: 0 / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.002e-05/1.149, allocations: 4 kB / 1.025 GB, free: 14.95 MB / 0.6511 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.00138/1.151, allocations: 0.6042 MB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.151, allocations: 16.02 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/1.151, allocations: 39.61 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/1.152, allocations: 267.9 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/1.152, allocations: 8 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/1.152, allocations: 17.03 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002001/1.152, allocations: 53.8 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/1.152, allocations: 162.3 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.152, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/1.152, allocations: 4 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.152, allocations: 3.938 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/1.154, allocations: 0.5565 MB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/1.155, allocations: 127.8 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/1.155, allocations: 58.09 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/1.155, allocations: 4 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006202/1.156, allocations: 217.9 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.565e-06/1.156, allocations: 0 / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0007702/1.156, allocations: 225.6 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/1.156, allocations: 71.06 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/1.157, allocations: 262.8 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/1.157, allocations: 41.5 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/1.157, allocations: 92.48 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.174e-05/1.157, allocations: 46.52 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/1.157, allocations: 7.984 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.158, allocations: 320.6 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/1.158, allocations: 109.6 kB / 1.028 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/1.158, allocations: 153 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/1.159, allocations: 95.77 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.159, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001039/1.16, allocations: 334.8 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.16, allocations: 82.12 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.16, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.635e-05/1.16, allocations: 8 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/1.16, allocations: 23.42 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.16, allocations: 11.92 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/1.161, allocations: 44.02 kB / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.161, allocations: 59.28 kB / 1.029 GB, free: 11.23 MB / 0.6511 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.0002204/1.161, allocations: 127.2 kB / 1.029 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/1.161, allocations: 27.62 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/1.161, allocations: 32.45 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.162, allocations: 7.984 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.162, allocations: 0 / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.162, allocations: 0 / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/1.163, allocations: 0.5443 MB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.163, allocations: 0 / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.176e-05/1.163, allocations: 19.3 kB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-06/1.163, allocations: 0 / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/1.163, allocations: 11.98 kB / 1.029 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.163, allocations: 4 kB / 1.029 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.163, allocations: 0 / 1.029 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/1.163, allocations: 321.7 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/1.164, allocations: 191.2 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/1.164, allocations: 10.69 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/1.164, allocations: 8 kB / 1.03 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/1.164, allocations: 15.97 kB / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/1.164, allocations: 34.48 kB / 1.03 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003025/1.165, allocations: 216.8 kB / 1.03 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/1.165, allocations: 3.938 kB / 1.03 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006508/1.165, allocations: 48 kB / 1.03 GB, free: 9.758 MB / 0.6511 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.0002676/1.166, allocations: 125.3 kB / 1.03 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008604/1.167, allocations: 354.2 kB / 1.031 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.167, allocations: 384 / 1.031 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/1.167, allocations: 77.72 kB / 1.031 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/1.167, allocations: 28.41 kB / 1.031 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008598/1.168, allocations: 296.6 kB / 1.031 GB, free: 9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/1.169, allocations: 0.7623 MB / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002655/1.169, allocations: 34.61 kB / 1.032 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/1.169, allocations: 42.92 kB / 1.032 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/1.169, allocations: 0 / 1.032 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of Templates: time 0.01381/1.183, allocations: 4.53 MB / 1.036 GB, free: 3.633 MB / 0.6511 GB