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.484/2.484, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001753/0.001752, allocations: 177.9 kB / 325.6 MB, free: 2.824 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.428/2.428, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001626/0.001626, allocations: 96.73 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006346/0.0006349, allocations: 10.97 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2647, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.5723, allocations: 131.7 MB / 1.027 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.5726, allocations: 63.97 kB / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01711/0.5898, allocations: 3.938 MB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5898, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.5898, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 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.0006952/0.5905, allocations: 404.7 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5906, allocations: 8.031 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.5906, allocations: 11.91 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.5909, allocations: 182.9 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.5909, allocations: 12 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.591, allocations: 4 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.5912, allocations: 77.66 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5912, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.5913, allocations: 4 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5913, allocations: 7.922 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.5914, allocations: 39.97 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.5922, allocations: 352.6 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.5925, allocations: 110.5 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.5926, allocations: 4.031 kB / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.5928, allocations: 91.31 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.5928, allocations: 0 / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0004555/0.5933, allocations: 165.4 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.5933, allocations: 51.41 kB / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.5935, allocations: 116.8 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.5935, allocations: 29.7 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.5936, allocations: 96.06 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.5937, allocations: 23.94 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-06/0.5937, allocations: 4 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5939, allocations: 318.8 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.594, allocations: 35.98 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.5941, allocations: 54.66 kB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.5942, allocations: 43.86 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5943, allocations: 0 / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003235/0.5946, allocations: 129.5 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5946, allocations: 8 kB / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5946, allocations: 0 / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5947, allocations: 0 / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.5948, allocations: 11.98 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.5948, allocations: 8.016 kB / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.5949, allocations: 8 kB / 1.034 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.595, allocations: 15.97 kB / 1.034 GB, free: 7.004 MB / 0.6823 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 () * Number of clocked 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.0001396/0.5951, allocations: 129.8 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.5952, allocations: 7.906 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.5952, allocations: 16.38 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5952, allocations: 0 / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5953, allocations: 0 / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5953, allocations: 3.953 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.5959, allocations: 406.5 kB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5959, allocations: 4 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.596, allocations: 8 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.596, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.596, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.596, allocations: 4.422 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.596, allocations: 0 / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.5964, allocations: 223.3 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.5964, allocations: 81.11 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.5965, allocations: 4 kB / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.5966, allocations: 4 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.5966, allocations: 11.94 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.5967, allocations: 31.89 kB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.929e-05/0.5968, allocations: 103.8 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5968, allocations: 0 / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003097/0.5971, allocations: 16 kB / 1.035 GB, free: 5.871 MB / 0.6823 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) * Number of clocked states: 0 () * 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.0001655/0.5973, allocations: 111.1 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.5976, allocations: 91.88 kB / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5976, allocations: 0 / 1.035 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.5977, allocations: 47.91 kB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.5983, allocations: 63.11 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/0.5989, allocations: 213.2 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.5993, allocations: 0.7042 MB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.804e-05/0.5994, allocations: 12.44 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.5994, allocations: 15.42 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of SimCode: time 6.72e-07/0.5995, allocations: 4 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of Templates: time 0.005635/0.6051, allocations: 1.469 MB / 1.037 GB, free: 3.105 MB / 0.6823 GB