Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 194.5 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 72.38 kB / 0.6708 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2956, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002116/0.2978, allocations: 0.6881 MB / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006372/0.2985, allocations: 188.5 kB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.2985, allocations: 0 / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.2987, allocations: 3.984 kB / 0.7835 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.2987, allocations: 3.938 kB / 0.7835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.299, allocations: 39.97 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2992, allocations: 51.84 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2993, allocations: 19.97 kB / 0.7836 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.2993, allocations: 23.86 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.2994, allocations: 23.91 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.2994, allocations: 4 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.755e-05/0.2995, allocations: 4 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2996, allocations: 23.91 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.2996, allocations: 23.88 kB / 0.7837 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.2998, allocations: 67.77 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2998, allocations: 0 / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.02e-07/0.2998, allocations: 0 / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2998, allocations: 0 / 0.7838 GB, free: 12.86 MB / 0.6075 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.0006205/0.3004, allocations: 409.2 kB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3005, allocations: 8.031 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.3005, allocations: 8.844 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3007, allocations: 184.2 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3007, allocations: 8.375 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.3007, allocations: 8.359 kB / 0.7844 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.3009, allocations: 86.16 kB / 0.7845 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3009, allocations: 192 / 0.7845 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.301, allocations: 3.938 kB / 0.7845 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.301, allocations: 0 / 0.7845 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3011, allocations: 47.91 kB / 0.7845 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.3017, allocations: 348.6 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.3019, allocations: 122.4 kB / 0.785 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.468e-05/0.3021, allocations: 60.86 kB / 0.785 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.3021, allocations: 0 / 0.785 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.3023, allocations: 91.31 kB / 0.7851 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3023, allocations: 4 kB / 0.7851 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004129/0.3027, allocations: 153.5 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3028, allocations: 55.41 kB / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3029, allocations: 129.9 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3029, allocations: 25.7 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.303, allocations: 92.08 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.303, allocations: 19.72 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.3031, allocations: 33.7 kB / 0.7856 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3032, allocations: 326.8 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/0.3033, allocations: 39.97 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.3034, allocations: 54.56 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.3035, allocations: 90.48 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3035, allocations: 0 / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001868/0.3037, allocations: 133.6 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3037, allocations: 8.031 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3037, allocations: 0 / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3038, allocations: 4 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.3038, allocations: 4 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3038, allocations: 0 / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.3039, allocations: 11.84 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.304, allocations: 31.94 kB / 0.7863 GB, free: 10.05 MB / 0.6075 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 (dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],isHoliday.y,isNonWorDay.y,isWorDay.y,dayTypSat.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.3041, allocations: 129 kB / 0.7864 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.3041, allocations: 11.91 kB / 0.7864 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.3042, allocations: 16.36 kB / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3042, allocations: 0 / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3042, allocations: 48 / 0.7864 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3042, allocations: 3.984 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.3046, allocations: 414.7 kB / 0.7868 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3046, allocations: 0 / 0.7868 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.3047, allocations: 4.094 kB / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3047, allocations: 3.938 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3047, allocations: 11.98 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3047, allocations: 0 / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3047, allocations: 4 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3049, allocations: 215.3 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.305, allocations: 89 kB / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.305, allocations: 0 / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.3051, allocations: 4 kB / 0.7872 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.3051, allocations: 15.92 kB / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.3052, allocations: 31.89 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.3052, allocations: 95.27 kB / 0.7873 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3053, allocations: 0 / 0.7873 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002438/0.3055, allocations: 19.94 kB / 0.7873 GB, free: 8.91 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.3056, allocations: 103.2 kB / 0.7874 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.3058, allocations: 91.89 kB / 0.7875 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3058, allocations: 0 / 0.7875 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.3059, allocations: 51.98 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.3064, allocations: 68.28 kB / 0.7876 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.3068, allocations: 211.1 kB / 0.7878 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3071, allocations: 0.6926 MB / 0.7885 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.399e-05/0.3072, allocations: 16.44 kB / 0.7885 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.3072, allocations: 19.42 kB / 0.7885 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.3072, allocations: 288 / 0.7885 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.004187/0.3114, allocations: 1.577 MB / 0.7901 GB, free: 6.051 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)