Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.204/2.204, allocations: 252.6 MB / 265.2 MB, free: 5.652 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.001443/0.001442, allocations: 182.1 kB / 324.5 MB, free: 14.42 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.055/2.055, allocations: 205.4 MB / 0.5753 GB, free: 10.49 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.001081/0.001081, allocations: 100.2 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.885e-05, allocations: 0 / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2761, allocations: 106.2 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8349/1.111, allocations: 133.3 MB / 1.025 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.111, allocations: 71.48 kB / 1.025 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02331/1.135, allocations: 4.465 MB / 1.03 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/1.135, allocations: 0 / 1.03 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.096e-05/1.135, allocations: 4 kB / 1.03 GB, free: 13.26 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001518/1.136, allocations: 0.5914 MB / 1.03 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/1.136, allocations: 8.031 kB / 1.03 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/1.137, allocations: 31.72 kB / 1.03 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/1.137, allocations: 252 kB / 1.03 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/1.137, allocations: 6.812 kB / 1.03 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/1.137, allocations: 23.86 kB / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/1.138, allocations: 138 kB / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.138, allocations: 3.984 kB / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/1.138, allocations: 7.312 kB / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/1.138, allocations: 0 / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/1.138, allocations: 50.36 kB / 1.031 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/1.139, allocations: 331.3 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/1.14, allocations: 128.1 kB / 1.031 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/1.14, allocations: 59.33 kB / 1.031 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/1.14, allocations: 3.938 kB / 1.031 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008179/1.141, allocations: 217.1 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.737e-06/1.141, allocations: 3.938 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.001032/1.142, allocations: 218.6 kB / 1.032 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/1.142, allocations: 62.7 kB / 1.032 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006059/1.143, allocations: 254 kB / 1.032 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001796/1.143, allocations: 41.02 kB / 1.032 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/1.143, allocations: 93 kB / 1.032 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/1.143, allocations: 43.69 kB / 1.032 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/1.143, allocations: 10.94 kB / 1.032 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001943/1.143, allocations: 328.5 kB / 1.032 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005386/1.144, allocations: 95.91 kB / 1.032 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/1.145, allocations: 145.8 kB / 1.033 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/1.145, allocations: 151 kB / 1.033 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.145, allocations: 0 / 1.033 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001817/1.147, allocations: 413.4 kB / 1.033 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/1.147, allocations: 74.08 kB / 1.033 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/1.147, allocations: 4.188 kB / 1.033 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/1.147, allocations: 4 kB / 1.033 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/1.148, allocations: 27.91 kB / 1.033 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/1.148, allocations: 7.938 kB / 1.033 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/1.149, allocations: 43.75 kB / 1.033 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/1.149, allocations: 55.36 kB / 1.033 GB, free: 9.578 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0003091/1.149, allocations: 144.4 kB / 1.033 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/1.149, allocations: 27.62 kB / 1.033 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/1.15, allocations: 28.72 kB / 1.033 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.15, allocations: 4 kB / 1.033 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.15, allocations: 0 / 1.033 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.15, allocations: 0 / 1.033 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/1.151, allocations: 0.5532 MB / 1.034 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.151, allocations: 4 kB / 1.034 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/1.152, allocations: 7.984 kB / 1.034 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.152, allocations: 4 kB / 1.034 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/1.152, allocations: 11.67 kB / 1.034 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/1.152, allocations: 4 kB / 1.034 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.152, allocations: 3.938 kB / 1.034 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/1.153, allocations: 318.9 kB / 1.034 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/1.153, allocations: 154.5 kB / 1.034 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/1.153, allocations: 18.11 kB / 1.035 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/1.154, allocations: 8 kB / 1.035 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/1.154, allocations: 18.47 kB / 1.035 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/1.154, allocations: 31.92 kB / 1.035 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004024/1.154, allocations: 201.2 kB / 1.035 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.81e-07/1.154, allocations: 0 / 1.035 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007828/1.155, allocations: 54.48 kB / 1.035 GB, free: 8.09 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0002552/1.155, allocations: 121.8 kB / 1.035 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001115/1.156, allocations: 348.1 kB / 1.035 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.156, allocations: 0 / 1.035 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/1.157, allocations: 72.98 kB / 1.035 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/1.157, allocations: 27.39 kB / 1.035 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/1.158, allocations: 279.5 kB / 1.036 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/1.159, allocations: 0.747 MB / 1.036 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003351/1.159, allocations: 45.14 kB / 1.036 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/1.159, allocations: 31.42 kB / 1.036 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/1.16, allocations: 0 / 1.036 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of Templates: time 0.01642/1.176, allocations: 4.297 MB / 1.041 GB, free: 2.203 MB / 0.6511 GB