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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 252.6 MB / 265.2 MB, free: 5.711 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.001398/0.001398, allocations: 181.6 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.238/2.238, allocations: 205.4 MB / 0.5753 GB, free: 10.46 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.001507/0.001507, allocations: 98.2 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.496e-05/4.48e-05, allocations: 4 kB / 0.7912 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2079, allocations: 106.2 MB / 0.8949 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8838/1.092, allocations: 133.6 MB / 1.025 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.092, allocations: 74.69 kB / 1.025 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02484/1.117, allocations: 5.195 MB / 1.031 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/1.117, allocations: 8 kB / 1.031 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.175e-05/1.117, allocations: 4 kB / 1.031 GB, free: 12.43 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.001274/1.118, allocations: 0.6045 MB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.118, allocations: 12.03 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/1.119, allocations: 35.55 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/1.119, allocations: 268.9 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/1.119, allocations: 15.88 kB / 1.031 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/1.119, allocations: 23.8 kB / 1.031 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/1.12, allocations: 174.6 kB / 1.032 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.12, allocations: 0 / 1.032 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/1.12, allocations: 0 / 1.032 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/1.12, allocations: 7.938 kB / 1.032 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/1.12, allocations: 62.17 kB / 1.032 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/1.122, allocations: 0.5852 MB / 1.032 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/1.122, allocations: 126.2 kB / 1.032 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/1.122, allocations: 62.34 kB / 1.032 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/1.123, allocations: 4 kB / 1.032 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006359/1.123, allocations: 230.8 kB / 1.033 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.925e-06/1.123, allocations: 4 kB / 1.033 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0008172/1.124, allocations: 226.1 kB / 1.033 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/1.124, allocations: 66.97 kB / 1.033 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/1.125, allocations: 275.7 kB / 1.033 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/1.125, allocations: 45.44 kB / 1.033 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/1.125, allocations: 100.2 kB / 1.033 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/1.125, allocations: 55.05 kB / 1.033 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/1.125, allocations: 7.938 kB / 1.033 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.125, allocations: 325.5 kB / 1.034 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/1.126, allocations: 124.7 kB / 1.034 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/1.126, allocations: 164.6 kB / 1.034 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/1.127, allocations: 164 kB / 1.034 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.127, allocations: 0 / 1.034 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001268/1.128, allocations: 441.2 kB / 1.035 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.128, allocations: 73.89 kB / 1.035 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.128, allocations: 0 / 1.035 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/1.128, allocations: 7.984 kB / 1.035 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/1.128, allocations: 27.78 kB / 1.035 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.128, allocations: 13.45 kB / 1.035 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007183/1.129, allocations: 55.2 kB / 1.035 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.129, allocations: 51.3 kB / 1.035 GB, free: 8.418 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.0002451/1.129, allocations: 132.3 kB / 1.035 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/1.13, allocations: 35.61 kB / 1.035 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/1.13, allocations: 28.52 kB / 1.035 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/1.13, allocations: 4 kB / 1.035 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.13, allocations: 0 / 1.035 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.13, allocations: 0 / 1.035 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/1.131, allocations: 0.5896 MB / 1.036 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.131, allocations: 0 / 1.036 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-05/1.131, allocations: 19.92 kB / 1.036 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/1.131, allocations: 0 / 1.036 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/1.131, allocations: 11.98 kB / 1.036 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/1.131, allocations: 4 kB / 1.036 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.131, allocations: 3.953 kB / 1.036 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/1.132, allocations: 321.8 kB / 1.036 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/1.132, allocations: 198.7 kB / 1.036 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/1.132, allocations: 11.25 kB / 1.036 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/1.133, allocations: 11.98 kB / 1.036 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/1.133, allocations: 23.92 kB / 1.036 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.095e-05/1.133, allocations: 31.3 kB / 1.036 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000335/1.133, allocations: 223.3 kB / 1.036 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.133, allocations: 0 / 1.036 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005679/1.134, allocations: 58.23 kB / 1.036 GB, free: 6.875 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.0002528/1.134, allocations: 131.8 kB / 1.037 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009198/1.135, allocations: 374.3 kB / 1.037 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.135, allocations: 0 / 1.037 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/1.135, allocations: 76.42 kB / 1.037 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/1.136, allocations: 28.38 kB / 1.037 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/1.137, allocations: 310.2 kB / 1.037 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/1.137, allocations: 0.7664 MB / 1.038 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002625/1.137, allocations: 37.2 kB / 1.038 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/1.138, allocations: 35.42 kB / 1.038 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of SimCode: time 3.286e-06/1.138, allocations: 0 / 1.038 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.01472/1.152, allocations: 4.752 MB / 1.043 GB, free: 500 kB / 0.6511 GB