Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.485/2.485, allocations: 252.6 MB / 265.2 MB, free: 5.742 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.001504/0.001504, allocations: 179.9 kB / 324.5 MB, free: 14.43 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.134/2.134, allocations: 205.4 MB / 0.5754 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.001125/0.001125, allocations: 98.14 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.188e-05, allocations: 8 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2074, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9014/1.109, allocations: 131.6 MB / 1.023 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/1.109, allocations: 76.06 kB / 1.023 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.017/1.126, allocations: 3.919 MB / 1.027 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.513e-06/1.126, allocations: 0 / 1.027 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.094e-05/1.126, allocations: 4 kB / 1.027 GB, free: 15.65 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000583/1.127, allocations: 387.6 kB / 1.028 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.127, allocations: 16.02 kB / 1.028 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/1.127, allocations: 7.906 kB / 1.028 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/1.127, allocations: 188.6 kB / 1.028 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/1.127, allocations: 7.938 kB / 1.028 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/1.127, allocations: 7.938 kB / 1.028 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/1.128, allocations: 79.53 kB / 1.028 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.128, allocations: 4 kB / 1.028 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.128, allocations: 0 / 1.028 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.128, allocations: 0 / 1.028 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/1.128, allocations: 42.42 kB / 1.028 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008176/1.129, allocations: 338.1 kB / 1.028 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/1.129, allocations: 121 kB / 1.028 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/1.129, allocations: 55.75 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/1.129, allocations: 4 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/1.129, allocations: 94.06 kB / 1.029 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.465e-06/1.129, allocations: 0 / 1.029 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.000355/1.13, allocations: 123.3 kB / 1.029 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/1.13, allocations: 51.41 kB / 1.029 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/1.13, allocations: 116.6 kB / 1.029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/1.13, allocations: 37.14 kB / 1.029 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/1.13, allocations: 99.33 kB / 1.029 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/1.13, allocations: 19.25 kB / 1.029 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/1.13, allocations: 0 / 1.029 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.13, allocations: 325.8 kB / 1.029 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/1.13, allocations: 30.75 kB / 1.029 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/1.131, allocations: 57.47 kB / 1.029 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/1.131, allocations: 43.05 kB / 1.029 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.131, allocations: 0 / 1.029 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003312/1.131, allocations: 138.9 kB / 1.03 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.131, allocations: 7.984 kB / 1.03 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.131, allocations: 4 kB / 1.03 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.131, allocations: 0 / 1.03 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/1.131, allocations: 4 kB / 1.03 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/1.131, allocations: 7.953 kB / 1.03 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/1.131, allocations: 3.688 kB / 1.03 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/1.132, allocations: 27.98 kB / 1.03 GB, free: 13.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001115/1.132, allocations: 113.2 kB / 1.03 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/1.132, allocations: 7.906 kB / 1.03 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/1.132, allocations: 7.875 kB / 1.03 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.132, allocations: 4 kB / 1.03 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.132, allocations: 0 / 1.03 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/1.132, allocations: 3.953 kB / 1.03 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006692/1.133, allocations: 410.5 kB / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.133, allocations: 0 / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/1.133, allocations: 4 kB / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.495e-06/1.133, allocations: 0 / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/1.133, allocations: 3.938 kB / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/1.133, allocations: 3.953 kB / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.133, allocations: 0 / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/1.133, allocations: 224.5 kB / 1.03 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/1.133, allocations: 85.02 kB / 1.03 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/1.133, allocations: 3.375 kB / 1.03 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/1.133, allocations: 4 kB / 1.03 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/1.133, allocations: 15.88 kB / 1.03 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/1.133, allocations: 23.89 kB / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.89e-05/1.133, allocations: 95.38 kB / 1.031 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.133, allocations: 0 / 1.031 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003309/1.134, allocations: 19.12 kB / 1.031 GB, free: 12.18 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: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001861/1.134, allocations: 113.5 kB / 1.031 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002687/1.134, allocations: 86.53 kB / 1.031 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.134, allocations: 0 / 1.031 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/1.134, allocations: 47.67 kB / 1.031 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/1.135, allocations: 65.05 kB / 1.031 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/1.136, allocations: 146.3 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/1.136, allocations: 0.6965 MB / 1.032 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.797e-05/1.136, allocations: 8.438 kB / 1.032 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/1.136, allocations: 22.8 kB / 1.032 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of SimCode: time 1.233e-06/1.136, allocations: 3.938 kB / 1.032 GB, free: 11 MB / 0.6511 GB Notification: Performance of Templates: time 0.005791/1.142, allocations: 1.488 MB / 1.033 GB, free: 9.543 MB / 0.6511 GB