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.608/2.608, allocations: 253.2 MB / 260.6 MB, free: 7.414 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.001399/0.001398, allocations: 187.4 kB / 319.9 MB, free: 3.082 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.159/2.159, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001084/0.001084, allocations: 82.7 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.846e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.203, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.99/1.193, allocations: 131.8 MB / 1.017 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/1.194, allocations: 73.5 kB / 1.017 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02068/1.214, allocations: 3.914 MB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.475e-06/1.214, allocations: 0 / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.448e-05/1.214, allocations: 0 / 1.021 GB, free: 2.27 MB / 0.6355 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.0007202/1.215, allocations: 387.2 kB / 1.022 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/1.215, allocations: 11.97 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/1.215, allocations: 11.72 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/1.216, allocations: 178.9 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/1.216, allocations: 0 / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/1.216, allocations: 4 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001997/1.216, allocations: 45.66 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/1.216, allocations: 72.67 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.216, allocations: 3.938 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/1.216, allocations: 0 / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.216, allocations: 0 / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009803/1.217, allocations: 321.1 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/1.218, allocations: 106.6 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/1.218, allocations: 58 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/1.218, allocations: 0 / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/1.218, allocations: 93.44 kB / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.036e-06/1.218, allocations: 4 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004193/1.219, allocations: 113.2 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.219, allocations: 63.3 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/1.219, allocations: 112.5 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/1.219, allocations: 25.7 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/1.219, allocations: 95.53 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/1.219, allocations: 15.12 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/1.219, allocations: 0 / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.219, allocations: 322 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/1.219, allocations: 31.06 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/1.22, allocations: 56.73 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/1.22, allocations: 31.22 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.22, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004032/1.22, allocations: 131.5 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.22, allocations: 4 kB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.22, allocations: 4 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.22, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/1.22, allocations: 15.92 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/1.22, allocations: 4 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/1.221, allocations: 3.953 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.433e-05/1.221, allocations: 19.97 kB / 1.024 GB, free: 15.92 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.00014/1.221, allocations: 116.5 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/1.221, allocations: 7.906 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/1.221, allocations: 8.062 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.221, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.221, allocations: 4 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.221, allocations: 7.875 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/1.222, allocations: 371.2 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.222, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/1.222, allocations: 8.188 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.222, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/1.222, allocations: 7.922 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/1.222, allocations: 4 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.222, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/1.222, allocations: 213.6 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/1.222, allocations: 81.02 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/1.222, allocations: 8 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/1.223, allocations: 3.984 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/1.223, allocations: 11.3 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/1.223, allocations: 19.97 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.623e-05/1.223, allocations: 95.17 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/1.223, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005357/1.223, allocations: 15.95 kB / 1.024 GB, free: 14.93 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.0002072/1.224, allocations: 106.1 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002915/1.224, allocations: 84.66 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.224, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/1.224, allocations: 47.16 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/1.225, allocations: 70.92 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/1.225, allocations: 148.3 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/1.226, allocations: 0.6966 MB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001308/1.226, allocations: 16.41 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/1.226, allocations: 11.44 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of SimCode: time 8.71e-07/1.226, allocations: 0 / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of Templates: time 0.007209/1.233, allocations: 1.424 MB / 1.027 GB, free: 12.36 MB / 0.6511 GB