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.001221/0.001221, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0118/0.0118, allocations: 169.5 kB / 16.27 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.835/1.835, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.933/1.933, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005527/0.0005527, allocations: 16.25 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3064, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001262/0.3078, allocations: 357.6 kB / 0.7882 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000695/0.3085, allocations: 188.5 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.3086, allocations: 0 / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.3087, allocations: 3.984 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.133e-05/0.3088, allocations: 7.938 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.3092, allocations: 35.95 kB / 0.7884 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.3094, allocations: 51.84 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3095, allocations: 16 kB / 0.7885 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.3096, allocations: 27.84 kB / 0.7885 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.3097, allocations: 15.92 kB / 0.7886 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.3097, allocations: 4 kB / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.3097, allocations: 0 / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.3098, allocations: 15.98 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.992e-05/0.3099, allocations: 57.48 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.3101, allocations: 67.75 kB / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3101, allocations: 0 / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3101, allocations: 3.938 kB / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.3101, allocations: 4 kB / 0.7887 GB, free: 10.74 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.0007728/0.3109, allocations: 393.2 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.311, allocations: 8.031 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.311, allocations: 8.844 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.3113, allocations: 180.3 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.3113, allocations: 384 / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.3113, allocations: 8.375 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3116, allocations: 82.16 kB / 0.7894 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3116, allocations: 8.188 kB / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3117, allocations: 7.922 kB / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3117, allocations: 0 / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3118, allocations: 43.92 kB / 0.7894 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009911/0.3128, allocations: 344.6 kB / 0.7897 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.3131, allocations: 122.5 kB / 0.7899 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3133, allocations: 64.81 kB / 0.7899 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.3133, allocations: 3.938 kB / 0.7899 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.3136, allocations: 87.38 kB / 0.79 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.3136, allocations: 0 / 0.79 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004158/0.314, allocations: 149.5 kB / 0.7901 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.3141, allocations: 55.78 kB / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.3142, allocations: 133.8 kB / 0.7903 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.3143, allocations: 29.7 kB / 0.7904 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.3144, allocations: 92.12 kB / 0.7904 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.3144, allocations: 19.75 kB / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.3145, allocations: 21.7 kB / 0.7905 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3147, allocations: 322.8 kB / 0.7908 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.3147, allocations: 39.91 kB / 0.7908 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3149, allocations: 50.56 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.3151, allocations: 98.53 kB / 0.791 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3151, allocations: 0 / 0.791 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000298/0.3154, allocations: 133.5 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3154, allocations: 4 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.3154, allocations: 4 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3155, allocations: 0 / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.3155, allocations: 11.94 kB / 0.7911 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3156, allocations: 4 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3157, allocations: 15.86 kB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.3158, allocations: 31.95 kB / 0.7912 GB, free: 7.965 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.0001541/0.316, allocations: 129.7 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.316, allocations: 4 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.316, allocations: 16.3 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.3161, allocations: 4.031 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3161, allocations: 0 / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3161, allocations: 8 kB / 0.7913 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.3167, allocations: 410.3 kB / 0.7917 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3168, allocations: 3.938 kB / 0.7917 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-05/0.3168, allocations: 3.984 kB / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3168, allocations: 0 / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.3168, allocations: 4 kB / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3168, allocations: 0 / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3168, allocations: 0 / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.3172, allocations: 227.4 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.3172, allocations: 77.2 kB / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3173, allocations: 11.94 kB / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.3174, allocations: 0 / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.3175, allocations: 11.92 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.3175, allocations: 27.95 kB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.721e-05/0.3176, allocations: 95.27 kB / 0.7922 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3176, allocations: 4 kB / 0.7922 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003536/0.318, allocations: 19.84 kB / 0.7922 GB, free: 6.832 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.0001745/0.3182, allocations: 111.2 kB / 0.7923 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3185, allocations: 91.89 kB / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3185, allocations: 0 / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.3186, allocations: 39.98 kB / 0.7924 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.3193, allocations: 73.45 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.3199, allocations: 219.1 kB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.3203, allocations: 0.6965 MB / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.565e-05/0.3204, allocations: 12.42 kB / 0.7934 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.3204, allocations: 15.44 kB / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.3204, allocations: 0 / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of Templates: time 0.005969/0.3264, allocations: 1.559 MB / 0.7949 GB, free: 3.984 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: